diff --git a/.gitignore b/.gitignore
index c0b92b8b..62fa9116 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,7 @@
+# NuGet Packages Directory
+packages
+
+.vs/
bin/
obj/
.idea/
@@ -41,3 +45,5 @@ App_Data/
*.resharper.user
*.suo
*.user
+*.ncrunch*
+*.gpState
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index 9daf02d2..5df016fa 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2007-2011, Demis Bellot, ServiceStack.
+Copyright (c) 2007-2016, Demis Bellot, ServiceStack.
http://www.servicestack.net
All rights reserved.
diff --git a/README.md b/README.md
index 5959bc82..a5b63bf4 100644
--- a/README.md
+++ b/README.md
@@ -4,46 +4,43 @@ for twitter updates.
#Example Projects built with [ServiceStack](https://github.com/ServiceStack/ServiceStack), [C# RedisClient](https://github.com/ServiceStack/ServiceStack.Redis), [OrmLite](https://github.com/ServiceStack/ServiceStack.OrmLite), etc
-## [Download](https://github.com/ServiceStack/ServiceStack.Examples/downloads)
+## [Download](https://github.com/ServiceStack/ServiceStack.Examples/archive/master.zip)
-You can find the latest releases for download at:
+Download the tarball:
-* [ServiceStack.Examples/downloads](https://github.com/ServiceStack/ServiceStack.Examples/downloads)
+[https://github.com/ServiceStack/ServiceStack.Examples/archive/master.zip](https://github.com/ServiceStack/ServiceStack.Examples/archive/master.zip)
+or clone this repo to download the source:
-## Live Demo
+ git clone git://github.com/ServiceStack/ServiceStack.Examples.git
-A live demo and tutorials are available at the following locations:
-### [Backbone.js TODO app with REST and Redis backend](http://servicestack.net/Backbone.Todos/)
-[](http://servicestack.net/Backbone.Todos/)
+## [Live Demos](https://github.com/ServiceStackApps/LiveDemos)
-### [Creating a Hello World Web service from scratch](http://servicestack.net/ServiceStack.Hello/)
-[](http://servicestack.net/ServiceStack.Hello/)
+[Live demos](https://github.com/ServiceStackApps/LiveDemos) and tutorials are available at the following locations:
-### [GitHub-like browser to manage remote filesystem over REST](http://servicestack.net/RestFiles/)
-[](http://servicestack.net/RestFiles/)
+### [Backbone.js TODO app with REST and Redis backend](http://todos.servicestack.net)
+[](http://todos.servicestack.net)
-### [Creating a StackOverflow-like app in Redis](http://servicestack.net/RedisStackOverflow/)
-[](http://servicestack.net/RedisStackOverflow/)
+### [Creating a Hello World Web service from scratch](http://mono.servicestack.net/ServiceStack.Hello/)
+[](http://mono.servicestack.net/ServiceStack.Hello/)
-### [Northwind dataset services](http://servicestack.net/ServiceStack.Northwind/)
-[](http://servicestack.net/ServiceStack.Northwind/)
+### [GitHub-like browser to manage remote filesystem over REST](http://restfiles.servicestack.net)
+[](http://restfiles.servicestack.net)
-### [Complete REST Web service example](http://servicestack.net/ServiceStack.MovieRest/)
-[](http://servicestack.net/ServiceStack.MovieRest/)
+### [Creating a StackOverflow-like app in Redis](http://redisstackoverflow.servicestack.net)
+[](http://redisstackoverflow.servicestack.net)
-### [Calling Web Services with Ajax](http://servicestack.net/ServiceStack.Examples.Clients/)
-[](http://servicestack.net/ServiceStack.Examples.Clients/)
+### [Northwind dataset services](http://northwind.servicestack.net)
+[](http://northwind.servicestack.net)
### Other examples
-* [Calling Web Services with Mono Touch](http://www.servicestack.net/monotouch/remote-info/)
-* [Calling Web Services using Silverlight](http://servicestack.net/ServiceStack.Examples.Clients/Silverlight.htm)
-* [Calling SOAP 1.1 Web Service Examples](http://servicestack.net/ServiceStack.Examples.Clients/Soap11.aspx)
-* [Calling SOAP 1.2 Web Service Examples](http://servicestack.net/ServiceStack.Examples.Clients/Soap12.aspx)
+* [Calling Web Services with Mono Touch](http://mono.servicestack.net/monotouch/remote-info/)
+* [Calling Web Services using Silverlight](http://mono.servicestack.net/ServiceStack.Examples.Clients/Silverlight.htm)
+* [Calling SOAP 1.1 Web Service Examples](http://mono.servicestack.net/ServiceStack.Examples.Clients/Soap11.aspx)
+* [Calling SOAP 1.2 Web Service Examples](http://mono.servicestack.net/ServiceStack.Examples.Clients/Soap12.aspx)
-_All live examples hosted on CentOS/Nginx/FastCGI/Mono_
### Troubleshooting
-- Since the example project uses 32bit Sqlite.dll, on a 64bit machine you must set IIS to run 32bit apps (in the App Domain config)
\ No newline at end of file
+- Since the example project uses 32bit Sqlite.dll, on a 64bit machine you must set IIS to run 32bit apps (in the App Domain config)
diff --git a/lib/Mono.Data.Sqlite.dll b/lib/Mono.Data.Sqlite.dll
deleted file mode 100644
index dad79f06..00000000
Binary files a/lib/Mono.Data.Sqlite.dll and /dev/null differ
diff --git a/lib/ServiceStack.Common.dll b/lib/ServiceStack.Common.dll
deleted file mode 100644
index a4ebdebb..00000000
Binary files a/lib/ServiceStack.Common.dll and /dev/null differ
diff --git a/lib/ServiceStack.Common.xml b/lib/ServiceStack.Common.xml
deleted file mode 100644
index f0de5f62..00000000
--- a/lib/ServiceStack.Common.xml
+++ /dev/null
@@ -1,648 +0,0 @@
-
-
-
- ServiceStack.Common
-
-
-
-
- Encapsulates a validation result.
-
-
-
-
- Constructs a new ValidationResult
-
-
-
-
- Constructs a new ValidationResult
-
- A list of validation results
-
-
-
- Initializes a new instance of the class.
-
- The errors.
- The success code.
- The error code.
-
-
-
- Gets or sets the success code.
-
- The success code.
-
-
-
- Gets or sets the error code.
-
- The error code.
-
-
-
- Gets or sets the success message.
-
- The success message.
-
-
-
- Gets or sets the error message.
-
- The error message.
-
-
-
- The errors generated by the validation.
-
-
-
-
- Returns True if the validation was successful (errors list is empty).
-
-
-
-
- Default MaxStringContentLength is 8k, and throws an exception when reached
-
-
-
-
- Compresses the specified text using the default compression method: Deflate
-
- The text.
- Type of the compression.
-
-
-
-
- Decompresses the specified gz buffer using the default compression method: Inflate
-
- The gz buffer.
- Type of the compression.
-
-
-
-
- Provide the an option for the callee to block until all commands are executed
-
-
-
-
-
-
- Encapsulates creating a new message handler
-
-
-
-
- These extensions have a potential to conflict with the LINQ extensions methods so
- leaving the implmentation in the 'Extensions' sub-namespace to force explicit opt-in
-
-
-
- Need to provide async request options
- http://msdn.microsoft.com/en-us/library/86wf6409(VS.71).aspx
-
-
-
- Generic Proxy for service calls.
-
- The service Contract
-
-
-
- Returns the transparent proxy for the service call
-
-
-
-
-
- Processes all messages in a Normal and Priority Queue.
- Expects to be called in 1 thread. i.e. Non Thread-Safe.
-
-
-
-
-
- Single threaded message handler that can process all messages
- of a particular message type.
-
-
-
-
- Process all messages pending
-
-
-
-
-
- Get Current Stats for this Message Handler
-
-
-
-
-
- The type of the message this handler processes
-
-
-
-
- Useful IPAddressExtensions from:
- http://blogs.msdn.com/knom/archive/2008/12/31/ip-address-calculations-with-c-subnetmasks-networks.aspx
-
-
-
-
-
- Gets the ipv4 addresses from all Network Interfaces that have Subnet masks.
-
-
-
-
-
- Gets the ipv6 addresses from all Network Interfaces.
-
-
-
-
-
- Executes the specified action.
-
-
- The action.
-
-
-
-
- Gets the current context (or null if none).
-
-
-
-
- Checks if the current context is set to "initialize only".
-
-
-
-
- Determines whether this context is initialise only or not
-
-
-
-
- Constructs a new InitialiseOnlyContext
-
-
-
-
- Call to remove this current context and reveal the previous context (if any).
-
-
-
-
- Gets or sets the object that has been initialized only.
-
-
-
-
- The exception which is thrown when a validation error occured.
- This validation is serialized in a extra clean and human-readable way by ServiceStack.
-
-
-
-
- Used if we need to serialize this exception to XML
-
-
-
-
-
- Returns the first error code
-
- The error code.
-
-
-
- Gets the textual description of the enum if it has one. e.g.
-
-
- enum UserColors
- {
- [Description("Bright Red")]
- BrightRed
- }
- UserColors.BrightRed.ToDescription();
-
-
-
-
-
-
-
- Processing client used to interface with ServiceStack and allow a message to be processed.
- Not an actual client.
-
-
-
-
- Publish the specified message into the durable queue @queueName
-
-
-
-
-
-
- Publish the specified message into the transient queue @queueName
-
-
-
-
-
-
- Synchronous blocking get.
-
-
-
-
-
-
-
- Non blocking get message
-
-
-
-
-
-
- Blocking wait for notifications on any of the supplied channels
-
-
-
-
-
-
- Base rcon class.
-
-
-
-
- Rcon connection socket. Always set to null when not connected.
-
-
-
-
- Unique ID for each message.
-
-
-
-
- Registered callbacks.
-
-
-
-
- Create a new instance of rcon.
-
- Endpoint to connect to, usually the game server with query port.
-
-
-
- Attempts to connect to the game server for rcon operations.
-
- True if connection established, false otherwise.
-
-
-
- Processes a received packet.
-
- The packet.
-
-
-
- Disconnects from rcon.
-
-
-
-
- Sends message to the server.
-
- Words to send.
-
-
-
- Disconnected event.
-
-
-
-
- Game server endpoint.
-
-
-
-
- Last exception that occured during operation.
-
-
-
-
- Connected?
-
-
-
-
- Gets the next unique ID to be used for transmisson. Read this before sending to pair responses to sent messages.
-
-
-
-
- Event delegate when disconnected from the server.
-
-
-
-
-
- Delegate for async callbacks.
-
-
-
-
-
-
- Exception thrown when attempting to send on a non-connected service client.
-
-
-
-
- Note: InMemoryLog keeps all logs in memory, so don't use it long running exceptions
-
- Returns a thread-safe InMemoryLog which you can use while *TESTING*
- to provide a detailed analysis of your logs.
-
-
-
-
- Func to get the Strongly-typed field
-
-
-
-
- Required to cast the return ValueType to an object for caching
-
-
-
-
- Func to set the Strongly-typed field
-
-
-
-
- Required to cast the ValueType to an object for caching
-
-
-
-
- Required to cast the ValueType to an object for caching
-
-
-
-
- Populate an object with Example data.
-
-
-
-
-
-
- Populates the object with example data.
-
-
- Tracks how deeply nested we are
-
-
-
-
- Helper extensions for tuples
-
-
-
-
- Invokes the action provided and returns true if no excpetion was thrown.
- Otherwise logs the exception and returns false if an exception was thrown.
-
- The action.
-
-
-
-
- Maps the path of a file in the context of a VS project
-
- the relative path
- the absolute path
- Assumes static content is two directories above the /bin/ directory,
- eg. in a unit test scenario the assembly would be in /bin/Debug/.
-
-
-
- Maps the path of a file in a self-hosted scenario
-
- the relative path
- the absolute path
- Assumes static content is copied to /bin/ folder with the assemblies
-
-
-
- Maps the path of a file in an Asp.Net hosted scenario
-
- the relative path
- the absolute path
- Assumes static content is in the parent folder of the /bin/ directory
-
-
-
- Gets the namespace from an attribute marked on the type's definition
-
-
- Namespace of type
-
-
-
- Hosting services via a binary-safe TCP-based protocol.
-
-
-
-
- Register DTOs and hanlders the MQ Host will process
-
-
-
-
-
-
- Get Total Current Stats for all Message Handlers
-
-
-
-
-
- Get a Stats dump
-
-
-
-
-
- Start the MQ Host. Stops the server and restarts if already started.
-
-
-
-
- Stop the MQ Host if not already stopped.
-
-
-
-
- Processes a received packet.
-
- The packet.
-
-
-
- Factory to create consumers and producers that work with this service
-
-
-
-
- True if the packet originated on the server.
-
-
-
-
- True if the packet is a response from a sent packet.
-
-
-
-
- Sequence identifier. Unique to the connection.
-
-
-
-
- Words.
-
-
-
-
- Serializer cache of delegates required to create a type from a string map (e.g. for REST urls)
-
-
-
-
- Contains methods required for encoding and decoding rcon packets.
-
-
-
-
- Decodes a packet.
-
- The packet.
- A packet object.
-
-
-
- Decodes the packet header.
-
-
-
-
-
-
- Decodes words in a packet.
-
-
-
-
-
-
- Encodes a packet for transmission to the server.
-
-
-
-
-
-
-
-
-
- Encodes a packet header.
-
-
-
-
-
-
-
-
- Encodes words.
-
-
-
-
-
-
- Func to get the Strongly-typed field
-
-
-
-
- Required to cast the return ValueType to an object for caching
-
-
-
-
- Func to set the Strongly-typed field
-
-
-
-
- Required to cast the ValueType to an object for caching
-
-
-
-
- Required to cast the ValueType to an object for caching
-
-
-
-
- Creates a Unified Resource Name (URN) with the following formats:
-
- - urn:{TypeName}:{IdFieldValue} e.g. urn:UserSession:1
- - urn:{TypeName}:{IdFieldName}:{IdFieldValue} e.g. urn:UserSession:UserId:1
-
-
-
-
-
- Common functionality when creating adapters
-
-
-
-
- Executes the specified expression.
-
-
- The action.
-
-
-
-
- Executes the specified action (for void methods).
-
- The action.
-
-
- Need to provide async request options
- http://msdn.microsoft.com/en-us/library/86wf6409(VS.71).aspx
-
-
-
diff --git a/lib/ServiceStack.Interfaces.dll b/lib/ServiceStack.Interfaces.dll
deleted file mode 100644
index 40632eb8..00000000
Binary files a/lib/ServiceStack.Interfaces.dll and /dev/null differ
diff --git a/lib/ServiceStack.OrmLite.SqlServer.dll b/lib/ServiceStack.OrmLite.SqlServer.dll
deleted file mode 100644
index eba13c5f..00000000
Binary files a/lib/ServiceStack.OrmLite.SqlServer.dll and /dev/null differ
diff --git a/lib/ServiceStack.OrmLite.Sqlite.dll b/lib/ServiceStack.OrmLite.Sqlite.dll
deleted file mode 100644
index 5480470f..00000000
Binary files a/lib/ServiceStack.OrmLite.Sqlite.dll and /dev/null differ
diff --git a/lib/ServiceStack.OrmLite.dll b/lib/ServiceStack.OrmLite.dll
deleted file mode 100644
index 027a60e5..00000000
Binary files a/lib/ServiceStack.OrmLite.dll and /dev/null differ
diff --git a/lib/ServiceStack.RazorEngine.dll b/lib/ServiceStack.RazorEngine.dll
deleted file mode 100644
index 096c36c5..00000000
Binary files a/lib/ServiceStack.RazorEngine.dll and /dev/null differ
diff --git a/lib/ServiceStack.Redis.dll b/lib/ServiceStack.Redis.dll
deleted file mode 100644
index cda62d9b..00000000
Binary files a/lib/ServiceStack.Redis.dll and /dev/null differ
diff --git a/lib/ServiceStack.ServiceInterface.dll b/lib/ServiceStack.ServiceInterface.dll
deleted file mode 100644
index 30418bd0..00000000
Binary files a/lib/ServiceStack.ServiceInterface.dll and /dev/null differ
diff --git a/lib/ServiceStack.Text.XML b/lib/ServiceStack.Text.XML
deleted file mode 100644
index 84fa1d4d..00000000
--- a/lib/ServiceStack.Text.XML
+++ /dev/null
@@ -1,386 +0,0 @@
-
-
-
- ServiceStack.Text
-
-
-
-
- Pretty Thread-Safe cache class from:
- http://code.google.com/p/dapper-dot-net/source/browse/Dapper/SqlMapper.cs
-
- This is a micro-cache; suitable when the number of terms is controllable (a few hundred, for example),
- and strictly append-only; you cannot change existing values. All key matches are on **REFERENCE**
- equality. The type is fully thread-safe.
-
-
-
-
- Determines whether this serializer can create the specified type from a string.
-
- The type.
-
- true if this instance [can create from string] the specified type; otherwise, false.
-
-
-
-
- Parses the specified value.
-
- The value.
-
-
-
-
- Deserializes from reader.
-
- The reader.
-
-
-
-
- Serializes to string.
-
- The value.
-
-
-
-
- Serializes to writer.
-
- The value.
- The writer.
-
-
-
- Parses the specified value.
-
- The value.
-
-
-
-
- A class to allow the conversion of doubles to string representations of
- their exact decimal values. The implementation aims for readability over
- efficiency.
-
- Courtesy of @JonSkeet
- http://www.yoda.arachsys.com/csharp/DoubleConverter.cs
-
-
-
-
-
-
-
- How many digits are *after* the decimal point
-
-
-
-
- Constructs an arbitrary decimal expansion from the given long.
- The long must not be negative.
-
-
-
-
- Multiplies the current expansion by the given amount, which should
- only be 2 or 5.
-
-
-
-
- Shifts the decimal point; a negative value makes
- the decimal expansion bigger (as fewer digits come after the
- decimal place) and a positive value makes the decimal
- expansion smaller.
-
-
-
-
- Removes leading/trailing zeroes from the expansion.
-
-
-
-
- Converts the value to a proper decimal string representation.
-
-
-
-
- Implement the serializer using a more static approach
-
-
-
-
-
- A fast, standards-based, serialization-issue free DateTime serailizer.
-
-
-
-
- Get the type(string) constructor if exists
-
- The type.
-
-
-
-
- micro optimizations: using flags instead of value.IndexOfAny(EscapeChars)
-
-
-
-
-
-
- Creates an instance of a Type from a string value
-
-
-
-
- Implement the serializer using a more static approach
-
-
-
-
-
- if the is configured
- to take advantage of specification,
- to support user-friendly serialized formats, ie emitting camelCasing for JSON
- and parsing member names and enum values in a case-insensitive manner.
-
-
-
-
- Never emit type info for this type
-
-
-
-
- if the is configured
- to take advantage of specification,
- to support user-friendly serialized formats, ie emitting camelCasing for JSON
- and parsing member names and enum values in a case-insensitive manner.
-
-
-
-
- Define custom serialization fn for BCL Structs
-
-
-
-
- Define custom deserialization fn for BCL Structs
-
-
-
-
- Exclude specific properties of this type from being serialized
-
-
-
-
- Creates an instance of a Type from a string value
-
-
-
-
- Determines whether the specified type is convertible from string.
-
- The type.
-
- true if the specified type is convertible from string; otherwise, false.
-
-
-
-
- Parses the specified value.
-
- The value.
-
-
-
-
- Parses the specified type.
-
- The type.
- The value.
-
-
-
-
- Useful extension method to get the Dictionary[string,string] representation of any POCO type.
-
-
-
-
-
- Recursively prints the contents of any POCO object in a human-friendly, readable format
-
-
-
-
-
- Class to hold
-
-
-
-
-
- Shortcut escape when we're sure value doesn't contain any escaped chars
-
-
-
-
-
-
- A JSON key needs to be a string with quotes
-
-
-
-
-
-
- Since Silverlight doesn't have char.ConvertFromUtf32() so putting Mono's implemenation inline.
-
-
-
-
-
-
- @jonskeet: Collection of utility methods which operate on streams.
- r285, February 26th 2009: http://www.yoda.arachsys.com/csharp/miscutil/
-
-
-
-
- Reads the given stream up to the end, returning the data as a byte
- array.
-
-
-
-
- Reads the given stream up to the end, returning the data as a byte
- array, using the given buffer size.
-
-
-
-
- Reads the given stream up to the end, returning the data as a byte
- array, using the given buffer for transferring data. Note that the
- current contents of the buffer is ignored, so the buffer needn't
- be cleared beforehand.
-
-
-
-
- Copies all the data from one stream into another.
-
-
-
-
- Copies all the data from one stream into another, using a buffer
- of the given size.
-
-
-
-
- Copies all the data from one stream into another, using the given
- buffer for transferring data. Note that the current contents of
- the buffer is ignored, so the buffer needn't be cleared beforehand.
-
-
-
-
- Reads exactly the given number of bytes from the specified stream.
- If the end of the stream is reached before the specified amount
- of data is read, an exception is thrown.
-
-
-
-
- Reads into a buffer, filling it completely.
-
-
-
-
- Reads exactly the given number of bytes from the specified stream,
- into the given buffer, starting at position 0 of the array.
-
-
-
-
- Reads exactly the given number of bytes from the specified stream,
- into the given buffer, starting at position 0 of the array.
-
-
-
-
- Same as ReadExactly, but without the argument checks.
-
-
-
-
- Utils to load types
-
-
-
-
- Find the type from the name supplied
-
- [typeName] or [typeName, assemblyName]
-
-
-
-
- Find type if it exists
-
-
-
- The type if it exists
-
-
-
- Converts from base: 0 - 62
-
- The source.
- From.
- To.
-
-
-
-
- Skip the encoding process for 'safe strings'
-
-
-
-
-
-
- Implement the serializer using a more static approach
-
-
-
-
-
- micro optimizations: using flags instead of value.IndexOfAny(EscapeChars)
-
-
-
-
-
-
- Parses the specified value.
-
- The value.
-
-
-
-
- WCF Json format: /Date(unixts+0000)/
-
-
-
-
-
-
diff --git a/lib/ServiceStack.Text.dll b/lib/ServiceStack.Text.dll
deleted file mode 100644
index 1f23dd19..00000000
Binary files a/lib/ServiceStack.Text.dll and /dev/null differ
diff --git a/lib/ServiceStack.XML b/lib/ServiceStack.XML
deleted file mode 100644
index 272b29fc..00000000
--- a/lib/ServiceStack.XML
+++ /dev/null
@@ -1,3533 +0,0 @@
-
-
-
- ServiceStack
-
-
-
-
- Used in Unit tests
-
-
-
-
-
- Ensure the same instance is used for subclasses
-
-
-
-
- Called before page is executed
-
-
-
-
- Called after page is executed but before it's merged with the
- website template if any.
-
-
-
-
- Don't HTML encode safe output
-
-
-
-
-
-
- Return the output of a different view with the specified name
- using the supplied model
-
-
-
-
-
-
-
- Resolve registered Assemblies
-
-
-
-
-
- The AppHost so you can access configuration and resolve dependencies, etc.
-
-
-
-
- This precompiled Markdown page with Metadata
-
-
-
-
- ASP.NET MVC's HtmlHelper
-
-
-
-
- All variables passed to and created by your page.
- The Response DTO is stored and accessible via the 'Model' variable.
-
- All variables and outputs created are stored in ScopeArgs which is what's available
- to your website template. The Generated page is stored in the 'Body' variable.
-
-
-
-
- Whether HTML or Markdown output is requested
-
-
-
-
- The Response DTO
-
-
-
-
- If enabled, just returns the Request Info as it understands
-
-
-
-
-
-
- For performance withPathInfoParts should already be a lower case string
- to minimize redundant matching operations.
-
-
-
-
-
-
-
- The number of segments separated by '/' determinable by path.Split('/').Length
- e.g. /path/to/here.ext == 3
-
-
-
-
- The total number of segments after subparts have been exploded ('.')
- e.g. /path/to/here.ext == 4
-
-
-
-
- Provide for quick lookups based on hashes that can be determined from a request url
-
-
-
-
- Applies the request filters. Returns whether or not the request has been handled
- and no more processing should be done.
-
-
-
-
-
- Applies the response filters. Returns whether or not the request has been handled
- and no more processing should be done.
-
-
-
-
-
- Inherit from this class if you want to host your web services inside a
- Console Application, Windows Service, etc.
-
- Usage of HttpListener allows you to host webservices on the same port (:80) as IIS
- however it requires admin user privillages.
-
-
-
-
- Wrapper class for the HTTPListener to allow easier access to the
- server, for start and stop management and event routing of the actual
- inbound requests.
-
-
-
-
- ASP.NET or HttpListener ServiceStack host
-
-
-
-
- Register dependency in AppHost IOC on Startup
-
-
-
-
-
-
- AutoWired Registration of an interface with a concrete type in AppHost IOC on Startup.
-
-
-
-
-
-
- Resolve a dependency from the AppHost IOC
-
-
-
-
-
-
- Register an Adhoc web service on Startup
-
-
-
-
-
-
- Register custom ContentType serializers
-
-
-
-
- Add Request Filters
-
-
-
-
- Add Response Filters
-
-
-
-
- Add alternative HTML View Engines
-
-
-
-
- Provide a catch-all handler that doesn't match any routes
-
-
-
-
- The AppHost config
-
-
-
-
- Starts the Web Service
-
-
- A Uri that acts as the base that the server is listening on.
- Format should be: http://127.0.0.1:8080/ or http://127.0.0.1:8080/somevirtual/
- Note: the trailing backslash is required! For more info see the
- HttpListener.Prefixes property on MSDN.
-
-
-
-
- Shut down the Web Service
-
-
-
-
- Overridable method that can be used to implement a custom hnandler
-
-
-
-
-
- A strongly-typed resource class, for looking up localized strings, etc.
-
-
-
-
- Returns the cached ResourceManager instance used by this class.
-
-
-
-
- Overrides the current thread's CurrentUICulture property for all
- resource lookups using this strongly typed resource class.
-
-
-
-
- Looks up a localized string similar to Container service is built-in and read-only..
-
-
-
-
- Looks up a localized string similar to Service type {0} does not inherit or implement {1}..
-
-
-
-
- Looks up a localized string similar to Required dependency of type {0} named '{1}' could not be resolved..
-
-
-
-
- Looks up a localized string similar to Required dependency of type {0} could not be resolved..
-
-
-
-
- Looks up a localized string similar to Unknown scope..
-
-
-
-
- Understands how to route and respond to MiniProfiler UI urls.
-
-
-
-
- Returns either includes' css/javascript or results' html.
-
-
-
-
- Handles rendering static content files.
-
-
-
-
- Handles rendering a previous MiniProfiler session, identified by its "?id=GUID" on the query.
-
-
-
-
- Embedded resource contents keyed by filename.
-
-
-
-
- Helper method that sets a proper 404 response code.
-
-
-
-
- Try to keep everything static so we can easily be reused.
-
-
-
-
- Fluent API for customizing the registration of a service.
-
-
-
-
- Helper interface used to hide the base
- members from the fluent API to make for much cleaner
- Visual Studio intellisense experience.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Fluent API that exposes both
- and owner ().
-
-
-
-
- Fluent API that allows specifying the reuse instances.
-
-
-
-
- Specifies how instances are reused within a container or hierarchy. Default
- scope is .
-
-
-
-
- Fluent API that allows specifying the owner of instances
- created from a registration.
-
-
-
-
- Specifies the owner of instances created from this registration. Default
- owner is .
-
-
-
-
- Fluent API for customizing the registration of a service.
-
-
-
-
- Fluent API that allows registering an initializer for the
- service.
-
-
-
-
- Specifies an initializer that should be invoked after
- the service instance has been created by the factory.
-
-
-
-
- Changes the links for the servicestack/metadata page
-
-
-
-
-
-
- Highly optimized code to find if GZIP is supported from:
- - http://dotnetperls.com/gzip-request
-
- Other resources for GZip, deflate resources:
- - http://www.west-wind.com/Weblog/posts/10564.aspx
- - http://www.west-wind.com/WebLog/posts/102969.aspx
- - ICSharpCode
-
-
-
-
- when true, (most) bare plain URLs are auto-hyperlinked
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- when true, RETURN becomes a literal newline
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- use ">" for HTML output, or " />" for XHTML output
-
-
-
-
- when true, problematic URL characters like [, ], (, and so forth will be encoded
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- when false, email addresses will never be auto-linked
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- when true, bold and italic require non-word characters on either side
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- Markdown is a text-to-HTML conversion tool for web writers.
- Markdown allows you to write using an easy-to-read, easy-to-write plain text format,
- then convert it to structurally valid XHTML (or HTML).
-
-
-
-
- maximum nested depth of [] and () supported by the transform; implementation detail
-
-
-
-
- Tabs are automatically converted to spaces as part of the transform
- this constant determines how "wide" those tabs become in spaces
-
-
-
-
- Create a new Markdown instance using default options
-
-
-
-
- Create a new Markdown instance and optionally load options from a configuration
- file. There they should be stored in the appSettings section, available options are:
-
- Markdown.StrictBoldItalic (true/false)
- Markdown.EmptyElementSuffix (">" or " />" without the quotes)
- Markdown.LinkEmails (true/false)
- Markdown.AutoNewLines (true/false)
- Markdown.AutoHyperlink (true/false)
- Markdown.EncodeProblemUrlCharacters (true/false)
-
-
-
-
-
- Create a new Markdown instance and set the options from the MarkdownOptions object.
-
-
-
-
- In the static constuctor we'll initialize what stays the same across all transforms.
-
-
-
-
- Transforms the provided Markdown-formatted text to HTML;
- see http://en.wikipedia.org/wiki/Markdown
-
-
- The order in which other subs are called here is
- essential. Link and image substitutions need to happen before
- EscapeSpecialChars(), so that any *'s or _'s in the a
- and img tags get encoded.
-
-
-
-
- Perform transformations that form block-level tags like paragraphs, headers, and list items.
-
-
-
-
- Perform transformations that occur *within* block-level tags like paragraphs, headers, and list items.
-
-
-
-
- splits on two or more newlines, to form "paragraphs";
- each paragraph is then unhashed (if it is a hash and unhashing isn't turned off) or wrapped in HTML p tag
-
-
-
-
- Reusable pattern to match balanced [brackets]. See Friedl's
- "Mastering Regular Expressions", 2nd Ed., pp. 328-331.
-
-
-
-
- Reusable pattern to match balanced (parens). See Friedl's
- "Mastering Regular Expressions", 2nd Ed., pp. 328-331.
-
-
-
-
- Strips link definitions from text, stores the URLs and titles in hash references.
-
-
- ^[id]: url "optional title"
-
-
-
-
- derived pretty much verbatim from PHP Markdown
-
-
-
-
- replaces any block-level HTML blocks with hash entries
-
-
-
-
- returns an array of HTML tokens comprising the input string. Each token is
- either a tag (possibly with nested, tags contained therein, such
- as <a href="<MTFoo>">, or a run of text between tags. Each element of the
- array is a two-element array; the first is either 'tag' or 'text'; the second is
- the actual value.
-
-
-
-
- Turn Markdown link shortcuts into HTML anchor tags
-
-
- [link text](url "title")
- [link text][id]
- [id]
-
-
-
-
- Turn Markdown image shortcuts into HTML img tags.
-
-
- ![alt text][id]
- 
-
-
-
-
- Turn Markdown headers into HTML header tags
-
-
- Header 1
- ========
-
- Header 2
- --------
-
- # Header 1
- ## Header 2
- ## Header 2 with closing hashes ##
- ...
- ###### Header 6
-
-
-
-
- Turn Markdown horizontal rules into HTML hr tags
-
-
- ***
- * * *
- ---
- - - -
-
-
-
-
- Turn Markdown lists into HTML ul and ol and li tags
-
-
-
-
- Process the contents of a single ordered or unordered list, splitting it
- into individual list items.
-
-
-
-
- /// Turn Markdown 4-space indented code into HTML pre code blocks
-
-
-
-
- Turn Markdown `code spans` into HTML code tags
-
-
-
-
- Turn Markdown *italics* and **bold** into HTML strong and em tags
-
-
-
-
- Turn markdown line breaks (two space at end of line) into HTML break tags
-
-
-
-
- Turn Markdown > quoted blocks into HTML blockquote blocks
-
-
-
-
- Turn angle-delimited URLs into HTML anchor tags
-
-
- <http://www.example.com>
-
-
-
-
- Remove one level of line-leading spaces
-
-
-
-
- encodes email address randomly
- roughly 10% raw, 45% hex, 45% dec
- note that @ is always encoded and : never is
-
-
-
-
- Encode/escape certain Markdown characters inside code blocks and spans where they are literals
-
-
-
-
- Encode any ampersands (that aren't part of an HTML entity) and left or right angle brackets
-
-
-
-
- Encodes any escaped characters such as \`, \*, \[ etc
-
-
-
-
- swap back in all the special characters we've hidden
-
-
-
-
- escapes Bold [ * ] and Italic [ _ ] characters
-
-
-
-
- hex-encodes some unusual "problem" chars in URLs to avoid URL detection problems
-
-
-
-
- Within tags -- meaning between < and > -- encode [\ ` * _] so they
- don't conflict with their use in Markdown for code, italics and strong.
- We're replacing each such character with its corresponding hash
- value; this is likely overkill, but it should prevent us from colliding
- with the escape values by accident.
-
-
-
-
- convert all tabs to _tabWidth spaces;
- standardizes line endings from DOS (CR LF) or Mac (CR) to UNIX (LF);
- makes sure text ends with a couple of newlines;
- removes any blank lines (only spaces) in the text
-
-
-
-
- this is to emulate what's evailable in PHP
-
-
-
-
- use ">" for HTML output, or " />" for XHTML output
-
-
-
-
- when false, email addresses will never be auto-linked
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- when true, bold and italic require non-word characters on either side
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- when true, RETURN becomes a literal newline
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- when true, (most) bare plain URLs are auto-hyperlinked
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- when true, problematic URL characters like [, ], (, and so forth will be encoded
- WARNING: this is a significant deviation from the markdown spec
-
-
-
-
- current version of MarkdownSharp;
- see http://code.google.com/p/markdownsharp/ for the latest code or to contribute
-
-
-
-
- HttpContext based profiler provider. This is the default provider to use in a web context.
- The current profiler is associated with a HttpContext.Current ensuring that profilers are
- specific to a individual HttpRequest.
-
-
-
-
- BaseProfilerProvider. This providers some helper methods which provide access to
- internals not otherwise available.
- To use, override the , and
- methods.
-
-
-
-
- A provider used to create instances and maintain the current instance.
-
-
-
-
- Starts a new MiniProfiler and sets it to be current. By the end of this method
- should return the new MiniProfiler.
-
-
-
-
- Ends the current profiling session, if one exists.
-
-
- When true, clears the for this HttpContext, allowing profiling to
- be prematurely stopped and discarded. Useful for when a specific route does not need to be profiled.
-
-
-
-
- Returns the current MiniProfiler. This is used by .
-
-
-
-
-
- Starts a new MiniProfiler and sets it to be current. By the end of this method
- should return the new MiniProfiler.
-
-
-
-
- Stops the current MiniProfiler (if any is currently running).
- should be called if is false
-
- If true, any current results will be thrown away and nothing saved
-
-
-
- Returns the current MiniProfiler. This is used by .
-
-
-
-
-
- Sets to be active (read to start profiling)
- This should be called once a new MiniProfiler has been created.
-
- The profiler to set to active
- If is null
-
-
-
- Stops the profiler and marks it as inactive.
-
- The profiler to stop
- True if successful, false if Stop had previously been called on this profiler
- If is null
-
-
-
- Calls to save the current
- profiler using the current storage settings
-
-
-
-
-
- Public constructor. This also registers any UI routes needed to display results
-
-
-
-
- Starts a new MiniProfiler and associates it with the current .
-
-
-
-
- Ends the current profiling session, if one exists.
-
-
- When true, clears the for this HttpContext, allowing profiling to
- be prematurely stopped and discarded. Useful for when a specific route does not need to be profiled.
-
-
-
-
- Makes sure 'profiler' has a Name, pulling it from route data or url.
-
-
-
-
- Returns the current profiler
-
-
-
-
-
- Gets the currently running MiniProfiler for the current HttpContext; null if no MiniProfiler was ed.
-
-
-
-
- WebRequestProfilerProvider specific configurations
-
-
-
-
- Provides user identification for a given profiling request.
-
-
-
-
- An individual profiling step that can contain child steps.
-
-
-
-
- Rebuilds all the parent timings on deserialization calls
-
-
-
-
- Offset from parent MiniProfiler's creation that this Timing was created.
-
-
-
-
- Creates a new Timing named 'name' in the 'profiler's session, with 'parent' as this Timing's immediate ancestor.
-
-
-
-
- Obsolete - used for serialization.
-
-
-
-
- Returns this Timing's Name.
-
-
-
-
- Returns true if Ids match.
-
-
-
-
- Returns hashcode of Id.
-
-
-
-
- Adds arbitrary string 'value' under 'key', allowing custom properties to be stored in this Timing step.
-
-
-
-
- Completes this Timing's duration and sets the MiniProfiler's Head up one level.
-
-
-
-
- Add the parameter 'timing' to this Timing's Children collection.
-
-
- Used outside this assembly for custom deserialization when creating an implementation.
-
-
-
-
- Adds the parameter 'sqlTiming' to this Timing's SqlTimings collection.
-
- A sql statement profiling that was executed in this Timing step.
-
- Used outside this assembly for custom deserialization when creating an implementation.
-
-
-
-
- Returns the number of sql statements of that were executed in this .
-
-
-
-
- Unique identifer for this timing; set during construction.
-
-
-
-
- Text displayed when this Timing is rendered.
-
-
-
-
- How long this Timing step took in ms; includes any Timings' durations.
-
-
-
-
- The offset from the start of profiling.
-
-
-
-
- All sub-steps that occur within this Timing step. Add new children through
-
-
-
-
- Stores arbitrary key/value strings on this Timing step. Add new tuples through .
-
-
-
-
- Any queries that occurred during this Timing step.
-
-
-
-
- Needed for database deserialization and JSON serialization.
-
-
-
-
- Which Timing this Timing is under - the duration that this step takes will be added to its parent's duration.
-
- This will be null for the root (initial) Timing.
-
-
-
- Gets the elapsed milliseconds in this step without any children's durations.
-
-
-
-
- Gets the aggregate elapsed milliseconds of all SqlTimings executed in this Timing, excluding Children Timings.
-
-
-
-
- Returns true when this is less than the configured
- , by default 2.0 ms.
-
-
-
-
- Reference to the containing profiler, allowing this Timing to affect the Head and get Stopwatch readings.
-
-
-
-
- Returns true when this Timing has inner Timing steps.
-
-
-
-
- Returns true if this Timing step collected sql execution timings.
-
-
-
-
- Returns true if any s executed in this step are detected as duplicate statements.
-
-
-
-
- Returns true when this Timing is the first one created in a MiniProfiler session.
-
-
-
-
- How far away this Timing is from the Profiler's Root.
-
-
-
-
- How many sql data readers were executed in this Timing step. Does not include queries in any child Timings.
-
-
-
-
- How many sql scalar queries were executed in this Timing step. Does not include queries in any child Timings.
-
-
-
-
- How many sql non-query statements were executed in this Timing step. Does not include queries in any child Timings.
-
-
-
-
- Wraps a database connection, allowing sql execution timings to be collected when a session is started.
-
-
-
-
- This will be made private; use
-
-
-
-
- This will be made private; use
-
-
-
-
- Returns a new that wraps ,
- providing query execution profiling. If profiler is null, no profiling will occur.
-
- Your provider-specific flavor of connection, e.g. SqlConnection, OracleConnection
- The currently started or null.
-
-
-
- The underlying, real database connection to your db provider.
-
-
-
-
- The current profiler instance; could be null.
-
-
-
-
- The raw connection this is wrapping
-
-
-
-
- Ownership setting for the service.
-
-
-
-
- Reuse scope setting for the service.
-
-
-
-
- The container where the entry was registered.
-
-
-
-
- Specifies the owner for instances, which determines how
- they will be disposed.
-
-
-
-
- Specifies the scope for instances, which determines
- visibility of instances across containers and hierarchies.
-
-
-
-
- The Func delegate that creates instances of the service.
-
-
-
-
- The cached service instance if the scope is or
- .
-
-
-
-
- The Func delegate that initializes the object after creation.
-
-
-
-
- Clones the service entry assigning the to the
- . Does not copy the .
-
-
-
-
- Sets a persistent cookie which never expires
-
-
-
-
- Sets a session cookie which expires after the browser session closes
-
-
-
-
- Sets a persistent cookie which expires after the given time
-
-
-
-
- Sets a persistent cookie with an expiresAt date
-
-
-
-
- Deletes a specified cookie by setting its value to empty and expiration to -1 days
-
-
-
-
- Determines visibility and reuse of instances provided by the container.
-
-
-
-
- Instances are reused within a container hierarchy. Instances
- are created (if necessary) in the container where the registration
- was performed, and are reused by all descendent containers.
-
-
-
-
- Instances are reused only at the given container. Descendent
- containers do not reuse parent container instances and get
- a new instance at their level.
-
-
-
-
- Each request to resolve the dependency will result in a new
- instance being returned.
-
-
-
-
- Default scope, which equals .
-
-
-
- *
- Input: http://localhost:96/Cambia3/Temp/Test.aspx/path/info?q=item#fragment
-
- Some HttpRequest path and URL properties:
- Request.ApplicationPath: /Cambia3
- Request.CurrentExecutionFilePath: /Cambia3/Temp/Test.aspx
- Request.FilePath: /Cambia3/Temp/Test.aspx
- Request.Path: /Cambia3/Temp/Test.aspx/path/info
- Request.PathInfo: /path/info
- Request.PhysicalApplicationPath: D:\Inetpub\wwwroot\CambiaWeb\Cambia3\
- Request.QueryString: /Cambia3/Temp/Test.aspx/path/info?query=arg
- Request.Url.AbsolutePath: /Cambia3/Temp/Test.aspx/path/info
- Request.Url.AbsoluteUri: http://localhost:96/Cambia3/Temp/Test.aspx/path/info?query=arg
- Request.Url.Fragment:
- Request.Url.Host: localhost
- Request.Url.LocalPath: /Cambia3/Temp/Test.aspx/path/info
- Request.Url.PathAndQuery: /Cambia3/Temp/Test.aspx/path/info?query=arg
- Request.Url.Port: 96
- Request.Url.Query: ?query=arg
- Request.Url.Scheme: http
- Request.Url.Segments: /
- Cambia3/
- Temp/
- Test.aspx/
- path/
- info
- *
-
-
-
- Use this to treat Request.Items[] as a cache by returning pre-computed items to save
- calculating them multiple times.
-
-
-
-
- Profiles a single sql execution.
-
-
-
-
- Creates a new SqlTiming to profile 'command'.
-
-
-
-
- Obsolete - used for serialization.
-
-
-
-
- Returns a snippet of the sql command and the duration.
-
-
-
-
- Returns true if Ids match.
-
-
-
-
- Returns hashcode of Id.
-
-
-
-
- Called when command execution is finished to determine this SqlTiming's duration.
-
-
-
-
- Called when database reader is closed, ending profiling for SqlTimings.
-
-
-
-
- To help with display, put some space around sammiched commas
-
-
-
-
- Unique identifier for this SqlTiming.
-
-
-
-
- Category of sql statement executed.
-
-
-
-
- The sql that was executed.
-
-
-
-
- The command string with special formatting applied based on MiniProfiler.Settings.SqlFormatter
-
-
-
-
- Roughly where in the calling code that this sql was executed.
-
-
-
-
- Offset from main MiniProfiler start that this sql began.
-
-
-
-
- How long this sql statement took to execute.
-
-
-
-
- When executing readers, how long it took to come back initially from the database,
- before all records are fetched and reader is closed.
-
-
-
-
- Stores any parameter names and values used by the profiled DbCommand.
-
-
-
-
- Id of the Timing this statement was executed in.
-
-
- Needed for database deserialization.
-
-
-
-
- The Timing step that this sql execution occurred in.
-
-
-
-
- True when other identical sql statements have been executed during this MiniProfiler session.
-
-
-
-
- A single MiniProfiler can be used to represent any number of steps/levels in a call-graph, via Step()
-
- Totally baller.
-
-
-
- A callback for ProfiledDbConnection and family
-
-
-
-
- Called when a command starts executing
-
-
-
-
-
-
- Called when a reader finishes executing
-
-
-
-
-
-
-
- Called when a reader is done iterating through the data
-
-
-
-
-
- Called when an error happens during execution of a command
-
-
-
-
-
-
-
- True if the profiler instance is active
-
-
-
-
- Returns all currently open commands on this connection
-
-
-
-
- Returns all results contained in all child steps.
-
-
-
-
- Contains any sql statements that are executed, along with how many times those statements are executed.
-
-
-
-
- Adds to the current .
-
-
-
-
- Returns the number of sql statements of that were executed in all s.
-
-
-
-
- Starts when this profiler is instantiated. Each step will use this Stopwatch's current ticks as
- their starting time.
-
-
-
-
- Creates and starts a new MiniProfiler for the root , filtering steps to .
-
-
-
-
- Returns the 's and this profiler recorded.
-
-
-
-
- Returns true if Ids match.
-
-
-
-
- Returns hashcode of Id.
-
-
-
-
- Obsolete - used for serialization.
-
-
-
-
- Walks the hierarchy contained in this profiler, starting with , and returns each Timing found.
-
-
-
-
- Returns milliseconds based on Stopwatch's Frequency.
-
-
-
-
- Starts a new MiniProfiler based on the current . This new profiler can be accessed by
-
-
-
-
-
- Ends the current profiling session, if one exists.
-
-
- When true, clears the for this HttpContext, allowing profiling to
- be prematurely stopped and discarded. Useful for when a specific route does not need to be profiled.
-
-
-
-
- Returns an that will time the code between its creation and disposal. Use this method when you
- do not wish to include the MvcMiniProfiler namespace for the extension method.
-
- A descriptive name for the code that is encapsulated by the resulting IDisposable's lifetime.
- This step's visibility level; allows filtering when is called.
-
-
-
- Returns the css and javascript includes needed to display the MiniProfiler results UI.
-
- Which side of the page the profiler popup button should be displayed on (defaults to left)
- Whether to show trivial timings by default (defaults to false)
- Whether to show time the time with children column by default (defaults to false)
- The maximum number of trace popups to show before removing the oldest (defaults to 15)
- xhtml rendering mode, ensure script tag is closed ... etc
- when true, shows buttons to minimize and clear MiniProfiler results
- Script and link elements normally; an empty string when there is no active profiling session.
-
-
-
- Renders the current to json.
-
-
-
-
- Renders the parameter to json.
-
-
-
-
- Deserializes the json string parameter to a .
-
-
-
-
- Create a DEEP clone of this object
-
-
-
-
-
- Contains information about queries executed during this profiling session.
-
-
-
-
- Milliseconds, to one decimal place, that this MiniProfiler was executing sql.
-
-
-
-
- Returns true when we have profiled queries.
-
-
-
-
- Returns true when any child Timings have duplicate queries.
-
-
-
-
- How many sql data readers were executed in all steps.
-
-
-
-
- How many sql scalar queries were executed in all steps.
-
-
-
-
- How many sql non-query statements were executed in all steps.
-
-
-
-
- Identifies this Profiler so it may be stored/cached.
-
-
-
-
- A display name for this profiling session.
-
-
-
-
- When this profiler was instantiated.
-
-
-
-
- Where this profiler was run.
-
-
-
-
- Allows filtering of steps based on what
- the steps are created with.
-
-
-
-
- The first that is created and started when this profiler is instantiated.
- All other s will be children of this one.
-
-
-
-
- A string identifying the user/client that is profiling this request. Set
- with an -implementing class to provide a custom value.
-
-
- If this is not set manually at some point, the implementation will be used;
- by default, this will be the current request's ip address.
-
-
-
-
- Returns true when this MiniProfiler has been viewed by the that recorded it.
-
-
- Allows POSTs that result in a redirect to be profiled. implementation
- will keep a list of all profilers that haven't been fetched down.
-
-
-
-
- For unit testing, returns the timer.
-
-
-
-
- Milliseconds, to one decimal place, that this MiniProfiler ran.
-
-
-
-
- Returns true when or any of its are .
-
-
-
-
- Returns true when all child s are .
-
-
-
-
- Any Timing step with a duration less than or equal to this will be hidden by default in the UI; defaults to 2.0 ms.
-
-
-
-
- Ticks since this MiniProfiler was started.
-
-
-
-
- Points to the currently executing Timing.
-
-
-
-
- Gets the currently running MiniProfiler for the current HttpContext; null if no MiniProfiler was ed.
-
-
-
-
- Various configuration properties.
-
-
-
-
- Excludes the specified assembly from the stack trace output.
-
- The short name of the assembly. AssemblyName.Name
-
-
-
- Excludes the specified type from the stack trace output.
-
- The System.Type name to exclude
-
-
-
- Excludes the specified method name from the stack trace output.
-
- The name of the method
-
-
-
- Make sure we can at least store profiler results to the http runtime cache.
-
-
-
-
- Assemblies to exclude from the stack trace report.
-
-
-
-
- Types to exclude from the stack trace report.
-
-
-
-
- Methods to exclude from the stack trace report.
-
-
-
-
- The max length of the stack string to report back; defaults to 120 chars.
-
-
-
-
- Any Timing step with a duration less than or equal to this will be hidden by default in the UI; defaults to 2.0 ms.
-
-
-
-
- Dictates if the "time with children" column is displayed by default, defaults to false.
- For a per-page override you can use .RenderIncludes(showTimeWithChildren: true/false)
-
-
-
-
- Dictates if trivial timings are displayed by default, defaults to false.
- For a per-page override you can use .RenderIncludes(showTrivial: true/false)
-
-
-
-
- Determines how many traces to show before removing the oldest; defaults to 15.
- For a per-page override you can use .RenderIncludes(maxTracesToShow: 10)
-
-
-
-
- Dictates on which side of the page the profiler popup button is displayed; defaults to left.
- For a per-page override you can use .RenderIncludes(position: RenderPosition.Left/Right)
-
-
-
-
- Determines if min-max, clear, etc are rendered; defaults to false.
- For a per-page override you can use .RenderIncludes(showControls: true/false)
-
-
-
-
- By default, SqlTimings will grab a stack trace to help locate where queries are being executed.
- When this setting is true, no stack trace will be collected, possibly improving profiler performance.
-
-
-
-
- When is called, if the current request url contains any items in this property,
- no profiler will be instantiated and no results will be displayed.
- Default value is { "/ss-", "/content/", "/scripts/", "/favicon.ico" }.
-
-
-
-
- The path under which ALL routes are registered in, defaults to the application root. For example, "~/myDirectory/" would yield
- "/myDirectory/ss-includes.js" rather than just "/mini-profiler-includes.js"
- Any setting here should be in APP RELATIVE FORM, e.g. "~/myDirectory/"
-
-
-
-
- Understands how to save and load MiniProfilers. Used for caching between when
- a profiling session ends and results can be fetched to the client, and for showing shared, full-page results.
-
-
- The normal profiling session life-cycle is as follows:
- 1) request begins
- 2) profiler is started
- 3) normal page/controller/request execution
- 4) profiler is stopped
- 5) profiler is cached with 's implementation of
- 6) request ends
- 7) page is displayed and profiling results are ajax-fetched down, pulling cached results from
- 's implementation of
-
-
-
-
- The formatter applied to the SQL being rendered (used only for UI)
-
-
-
-
- Provides user identification for a given profiling request.
-
-
-
-
- Assembly version of this dank MiniProfiler.
-
-
-
-
- The provider used to provider the current instance of a provider
- This is also
-
-
-
-
- A function that determines who can access the MiniProfiler results url. It should return true when
- the request client has access, false for a 401 to be returned. HttpRequest parameter is the current request and
- MiniProfiler parameter is the results that were profiled.
-
-
- Both the HttpRequest and MiniProfiler parameters that will be passed into this function should never be null.
-
-
-
-
- Allows switching out stopwatches for unit testing.
-
-
-
-
- Gets part of a stack trace containing only methods we care about.
-
-
-
-
- Gets the current formatted and filted stack trace.
-
- Space separated list of methods
-
-
-
- Funqlets are a set of components provided as a package
- to an existing container (like a module).
-
-
-
-
- Configure the given container with the
- registrations provided by the funqlet.
-
- Container to register.
-
-
-
- Interface used by plugins to contribute registrations
- to an existing container.
-
-
-
-
- Returns the optimized result for the IRequestContext.
- Does not use or store results in any cache.
-
-
-
-
-
-
-
- Overload for the method returning the most
- optimized result based on the MimeType and CompressionType from the IRequestContext.
-
-
-
-
- Overload for the method returning the most
- optimized result based on the MimeType and CompressionType from the IRequestContext.
- How long to cache for, null is no expiration
-
-
-
-
- Clears all the serialized and compressed caches set
- by the 'Resolve' method for the cacheKey provided
-
-
-
-
-
-
-
- Formats any SQL query with inline parameters, optionally including the value type
-
-
-
-
- Takes a SqlTiming and returns a formatted SQL string, for parameter replacement, etc.
-
-
-
-
- Return SQL the way you want it to look on the in the trace. Usually used to format parameters
-
-
- Formatted SQL
-
-
-
- Creates a new Inline SQL Formatter, optionally including the parameter type info in comments beside the replaced value
-
- whether to include a comment after the value, indicating the type, e.g. /* @myParam DbType.Int32 */
-
-
-
- Formats the SQL in a generic frieldly format, including the parameter type information in a comment if it was specified in the InlineFormatter constructor
-
- The SqlTiming to format
- A formatted SQL string
-
-
-
- Returns a string representation of the parameter's value, including the type
-
- The parameter to get a value for
-
-
-
-
- Identifies users based on ip address.
-
-
-
-
- Provides functionality to identify which user is profiling a request.
-
-
-
-
- Returns a string to identify the user profiling the current 'request'.
-
- The current HttpRequest being profiled.
-
-
-
- Returns the paramter HttpRequest's client ip address.
-
-
-
-
- Main container class for components, supporting container hierarchies and
- lifetime management of instances.
-
-
-
-
- Initializes a new empty container.
-
-
-
-
- Creates a child container of the current one, which exposes its
- current service registration to the new child container.
-
-
-
-
- Disposes the container and all instances owned by it (see
- ), as well as all child containers
- created through .
-
-
-
-
- Registers a service instance with the container. This instance
- will have and
- behavior.
- Service instance to use.
-
-
-
- Registers a named service instance with the container. This instance
- will have and
- behavior.
- Name of the service to register.Service instance to use.
-
-
-
- Retrieves a function that can be used to lazily resolve an instance
- of the service when needed.
- Type of the service to retrieve.The function that can resolve to the service instance when invoked.The requested service has not been registered previously.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Retrieves a function that can be used to lazily resolve an instance
- of the service with the given name when needed.
- Type of the service to retrieve.Name of the service to retrieve.The function that can resolve to the service instance with the given name when invoked.The requested service with the given name has not been registered previously.
-
-
-
- Retrieves a function that can be used to lazily resolve an instance
- of the service of the given type, name and service constructor arguments when needed.
- Name of the service to retrieve.The function that can resolve to the service instance with the given and service constructor arguments name when invoked.The requested service with the given name and constructor arguments has not been registered previously.
-
-
-
- Retrieves a function that can be used to lazily resolve an instance
- of the service of the given type, name and service constructor arguments when needed.
- Name of the service to retrieve.The function that can resolve to the service instance with the given and service constructor arguments name when invoked.The requested service with the given name and constructor arguments has not been registered previously.
-
-
-
- Retrieves a function that can be used to lazily resolve an instance
- of the service of the given type, name and service constructor arguments when needed.
- Name of the service to retrieve.The function that can resolve to the service instance with the given and service constructor arguments name when invoked.The requested service with the given name and constructor arguments has not been registered previously.
-
-
-
- Retrieves a function that can be used to lazily resolve an instance
- of the service of the given type, name and service constructor arguments when needed.
- Name of the service to retrieve.The function that can resolve to the service instance with the given and service constructor arguments name when invoked.The requested service with the given name and constructor arguments has not been registered previously.
-
-
-
- Retrieves a function that can be used to lazily resolve an instance
- of the service of the given type, name and service constructor arguments when needed.
- Name of the service to retrieve.The function that can resolve to the service instance with the given and service constructor arguments name when invoked.The requested service with the given name and constructor arguments has not been registered previously.
-
-
-
- Retrieves a function that can be used to lazily resolve an instance
- of the service of the given type, name and service constructor arguments when needed.
- Name of the service to retrieve.The function that can resolve to the service instance with the given and service constructor arguments name when invoked.The requested service with the given name and constructor arguments has not been registered previously.
-
-
-
- Registers the given service by providing a factory delegate to
- instantiate it.
- The service type to register.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.Third argument that should be passed to the factory delegate to create the instace.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.Third argument that should be passed to the factory delegate to create the instace.Fourth argument that should be passed to the factory delegate to create the instace.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.Third argument that should be passed to the factory delegate to create the instace.Fourth argument that should be passed to the factory delegate to create the instace.Fifth argument that should be passed to the factory delegate to create the instace.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.Third argument that should be passed to the factory delegate to create the instace.Fourth argument that should be passed to the factory delegate to create the instace.Fifth argument that should be passed to the factory delegate to create the instace.Sixth argument that should be passed to the factory delegate to create the instace.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given named service by providing a factory delegate to
- instantiate it.
- The service type to register.A name used to differenciate this service registration.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given named service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.A name used to differenciate this service registration.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given named service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.A name used to differenciate this service registration.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given named service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.Third argument that should be passed to the factory delegate to create the instace.A name used to differenciate this service registration.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given named service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.Third argument that should be passed to the factory delegate to create the instace.Fourth argument that should be passed to the factory delegate to create the instace.A name used to differenciate this service registration.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given named service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.Third argument that should be passed to the factory delegate to create the instace.Fourth argument that should be passed to the factory delegate to create the instace.Fifth argument that should be passed to the factory delegate to create the instace.A name used to differenciate this service registration.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Registers the given named service by providing a factory delegate that receives arguments to
- instantiate it.
- The service type to register.First argument that should be passed to the factory delegate to create the instace.Second argument that should be passed to the factory delegate to create the instace.Third argument that should be passed to the factory delegate to create the instace.Fourth argument that should be passed to the factory delegate to create the instace.Fifth argument that should be passed to the factory delegate to create the instace.Sixth argument that should be passed to the factory delegate to create the instace.A name used to differenciate this service registration.The factory delegate to initialize new instances of the service when needed.The registration object to perform further configuration via its fluent interface.
-
-
-
- Resolves the given service by type, without passing any arguments for
- its construction.
- Type of the service to retrieve.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.Fifth argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.Fifth argument to pass to the factory delegate that may create the instace.Sixth argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type and name, without passing arguments for its initialization.
- Type of the service to retrieve.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type and name, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type and name, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type and name, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type and name, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type and name, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.Fifth argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Resolves the given service by type and name, passing the given arguments
- for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.Fifth argument to pass to the factory delegate that may create the instace.Sixth argument to pass to the factory delegate that may create the instace.The resolved service instance.The given service could not be resolved.
-
-
-
- Attempts to resolve the given service by type, without passing arguments for its initialization.
- Type of the service to retrieve.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.Fifth argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.Fifth argument to pass to the factory delegate that may create the instace.Sixth argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type and name, without passing
- arguments arguments for its initialization.
- Type of the service to retrieve.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type and name, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type and name, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type and name, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type and name, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type and name, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.Fifth argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Attempts to resolve the given service by type and name, passing the
- given arguments arguments for its initialization.
- Type of the service to retrieve.First argument to pass to the factory delegate that may create the instace.Second argument to pass to the factory delegate that may create the instace.Third argument to pass to the factory delegate that may create the instace.Fourth argument to pass to the factory delegate that may create the instace.Fifth argument to pass to the factory delegate that may create the instace.Sixth argument to pass to the factory delegate that may create the instace.
- The resolved service instance or if it cannot be resolved.
-
-
-
-
- Register an autowired dependency
-
-
-
-
-
- Register an autowired dependency as a separate type
-
-
-
-
-
- Alias for RegisterAutoWiredAs
-
-
-
-
-
- Default owner for new registrations. by default.
-
-
-
-
- Default reuse scope for new registrations. by default.
-
-
-
-
- More familiar name for the new crowd.
-
-
-
-
- Provides static helper methods to serialize and compress results
-
-
-
-
- Returns a serialized dto based on the mime-type, created using the factoryFn().
- If the correct mimeType is found, it will return the cached result.
- If a compressionType is set it will return a compressed version of the result.
- If no result is found, the dto is created by the factoryFn()
- The dto is set on the cacheClient[cacheKey] => factoryFn()
- e.g. urn:user:1 => dto
- The serialized dto is set on the cacheClient[cacheKey.mimeType] => serialized(factoryFn())
- e.g. urn:user:1.xml => xmlDto
- Finally, if a compressionType is specified, the compressed dto is set on the
- cacheClient[cacheKey.mimeType.compressionType] => compressed(serialized(factoryFn()))
- e.g. urn:user:1.xml.gzip => compressedXmlDto
-
- The type of the result.
- The factory fn.
- The serialization context.
- Type of the compression. -optional null means no compression
- The cache client
- The base cache key
- How long to cache for, default is no expiration
-
-
-
-
- Clears all the serialized and compressed caches set
- by the 'Resolve' method for the cacheKey provided
-
- The cache client.
- The cache keys.
-
-
-
- Helper method on ContentSerializer to 'Resolve' the serialized/compressed
- result using the cacheClient and cacheKey provided
-
-
- The content serializer.
- The cache client.
- The cache key.
-
-
-
-
- Summary description for $codebehindclassname$
-
-
-
-
- Render Markdown for text/markdown and text/plain ContentTypes
-
-
-
-
- Gets the name of the base most type in the heirachy tree with the same.
-
- We get an exception when trying to create a schema with multiple types of the same name
- like when inheriting from a DataContract with the same name.
-
- The type.
-
-
-
-
- Loads the operation types into a dictionary.
- If there are multiple operation types with the same name,
- the operation type that is last will be the one 'discoverable' via the service.
-
- The operation types.
-
-
-
- Gets string value from Items[name] then Cookies[name] if exists.
- Useful when *first* setting the users response cookie in the request filter.
- To access the value for this initial request you need to set it in Items[].
-
- string value or null if it doesn't exist
-
-
-
- Gets request paramater string value by looking in the following order:
- - QueryString[name]
- - FormData[name]
- - Cookies[name]
- - Items[name]
-
- string value or null if it doesn't exist
-
-
-
- Contains helper code to time sql statements.
-
-
-
-
- Returns a new SqlProfiler to be used in the 'profiler' session.
-
-
-
-
- Tracks when 'command' is started.
-
-
-
-
- Returns all currently open commands on this connection
-
-
-
-
- Finishes profiling for 'command', recording durations.
-
-
-
-
- Called when 'reader' finishes its iterations and is closed.
-
-
-
-
- The profiling session this SqlProfiler is part of.
-
-
-
-
- Helper methods that allow operation on SqlProfilers, regardless of their instantiation.
-
-
-
-
- Tracks when 'command' is started.
-
-
-
-
- Finishes profiling for 'command', recording durations.
-
-
-
-
- Called when 'reader' finishes its iterations and is closed.
-
-
-
-
- Categorizes individual steps to allow filtering.
-
-
-
-
- Default level given to Timings.
-
-
-
-
- Useful when profiling many items in a loop, but you don't wish to always see this detail.
-
-
-
-
- Dictates on which side of the page the profiler popup button is displayed; defaults to left.
-
-
-
-
- Profiler popup button is displayed on the left.
-
-
-
-
- Profiler popup button is displayed on the right.
-
-
-
-
- Contains helper methods that ease working with null s.
-
-
-
-
- Wraps in a call and executes it, returning its result.
-
- The current profiling session or null.
- Method to execute and profile.
- The step name used to label the profiler results.
-
-
-
-
- Returns an that will time the code between its creation and disposal.
-
- The current profiling session or null.
- A descriptive name for the code that is encapsulated by the resulting IDisposable's lifetime.
- This step's visibility level; allows filtering when is called.
-
-
-
- Adds 's hierarchy to this profiler's current Timing step,
- allowing other threads, remote calls, etc. to be profiled and joined into this profiling session.
-
-
-
-
- Returns an html-encoded string with a text-representation of ; returns "" when profiler is null.
-
- The current profiling session or null.
-
-
-
- Encapsulates a method that has five parameters and returns a value of the
- type specified by the parameter.
-
-
-
-
- Encapsulates a method that has six parameters and returns a value of the
- type specified by the parameter.
-
-
-
-
- Encapsulates a method that has seven parameters and returns a value of the
- type specified by the parameter.
-
-
-
-
- Dapper, a light weight object mapper for ADO.NET
-
-
-
-
- Execute parameterized SQL
-
- Number of rows affected
-
-
-
-
- Execute parameterized SQL
-
- Number of rows affected
-
-
-
- Executes a query, returning the data typed as per T
-
- the dynamic param may seem a bit odd, but this works around a major usability issue in vs, if it is Object vs completion gets annoying. Eg type new [space] get new object
- A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
- created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
-
-
-
-
- Execute a command that returns multiple result sets, and access each in turn
-
-
-
-
- Return a typed list of objects, reader is closed after the call
-
-
-
-
- Maps a query to objects
-
- The first type in the recordset
- The second type in the recordset
- The return type
-
-
-
-
-
-
- The Field we should split and read the second object from (default: id)
- Number of seconds before command execution timeout
- Is it a stored proc or a batch?
-
-
-
-
- Maps a query to objects
-
-
-
-
-
-
-
-
-
-
-
- The Field we should split and read the second object from (default: id)
- Number of seconds before command execution timeout
-
-
-
-
-
- Perform a multi mapping query with 4 input parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Internal use only
-
-
-
-
-
-
- Internal use only
-
-
-
-
- Internal use only
-
-
-
-
- Internal use only
-
-
-
-
- Internal use only
-
-
-
-
-
-
-
-
-
-
- Throws a data exception, only used internally
-
-
-
-
-
-
-
- Called if the query cache is purged via PurgeQueryCache
-
-
-
-
- Implement this interface to pass an arbitrary db specific set of parameters to Dapper
-
-
-
-
- Add all the parameters needed to the command just before it executes
-
- The raw command prior to execution
- Information about the query
-
-
-
- This is a micro-cache; suitable when the number of terms is controllable (a few hundred, for example),
- and strictly append-only; you cannot change existing values. All key matches are on **REFERENCE**
- equality. The type is fully thread-safe.
-
-
-
-
- Identity of a cached query in Dapper, used for extensability
-
-
-
-
- Create an identity for use with DynamicParameters, internal use only
-
-
-
-
-
-
-
-
-
-
-
-
-
- The sql
-
-
-
-
- The command type
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Compare 2 Identity objects
-
-
-
-
-
-
- The grid reader provides interfaces for reading multiple result sets from a Dapper query
-
-
-
-
- Read the next grid of results
-
-
-
-
- Read multiple objects from a single recordset on the grid
-
-
-
-
-
-
-
-
-
-
- Read multiple objects from a single recordset on the grid
-
-
-
-
-
-
-
-
-
-
-
- Read multiple objects from a single record set on the grid
-
-
-
-
-
-
-
-
-
-
-
-
- Dispose the grid, closing and disposing both the underlying reader and command.
-
-
-
-
- A bag of parameters that can be passed to the Dapper Query and Execute methods
-
-
-
-
- construct a dynamic parameter bag
-
-
-
-
- construct a dynamic parameter bag
-
- can be an anonymous type of a DynamicParameters bag
-
-
-
- Append a whole object full of params to the dynamic
- EG: AddParams(new {A = 1, B = 2}) // will add property A and B to the dynamic
-
-
-
-
-
- Add a parameter to this dynamic parameter list
-
-
-
-
-
-
-
-
-
- Get the value of a parameter
-
-
-
- The value, note DBNull.Value is not returned, instead the value is returned as null
-
-
-
- This class represents a SQL string, it can be used if you need to denote your parameter is a Char vs VarChar vs nVarChar vs nChar
-
-
-
-
- Create a new DbString
-
-
-
-
- Add the parameter to the command... internal use only
-
-
-
-
-
-
- Ansi vs Unicode
-
-
-
-
- Fixed length
-
-
-
-
- Length of the string -1 for max
-
-
-
-
- The value of the string
-
-
-
-
- Non ASP.NET requests
-
-
-
-
-
-
-
- ASP.NET requests
-
-
-
-
-
- NOT IMPLEMENTED - will format statements with paramters in an Oracle friendly way
-
-
-
-
- Does NOTHING, implement me!
-
-
-
-
- This is a micro-cache; suitable when the number of terms is controllable (a few hundred, for example),
- and strictly append-only; you cannot change existing values. All key matches are on **REFERENCE**
- equality. The type is fully thread-safe.
-
-
-
-
- Stores both 'compressed' and 'text' caches of the dto in the FileSystem and ICacheTextManager provided.
- The ContentType is inferred from the ICacheTextManager's ContentType.
-
-
-
-
- Non ASP.NET requests
-
-
-
-
-
-
-
- ASP.NET requests
-
-
-
-
-
- Provides saving and loading s to a storage medium.
-
-
-
-
- Stores under its .
-
- The results of a profiling session.
-
- Should also ensure the profiler is stored as being unviewed by its profiling .
-
-
-
-
- Returns a from storage based on , which should map to .
-
-
- Should also update that the resulting profiler has been marked as viewed by its profiling .
-
-
-
-
- Returns a list of s that haven't been seen by .
-
- User identified by the current .
-
-
-
- Understands how to store a to the with absolute expiration.
-
-
-
-
- The string that prefixes all keys that MiniProfilers are saved under, e.g.
- "mini-profiler-ecfb0050-7ce8-4bf1-bf82-2cb38e90e31e".
-
-
-
-
- Returns a new HttpRuntimeCacheStorage class that will cache MiniProfilers for the specified duration.
-
-
-
-
- Saves to the HttpRuntime.Cache under a key concated with
- and the parameter's .
-
-
-
-
- Returns the saved identified by . Also marks the resulting
- profiler to true.
-
-
-
-
- Returns a list of s that haven't been seen by .
-
- User identified by the current .
-
-
-
- Syncs access to runtime cache when adding a new list of ids for a user.
-
-
-
-
- How long to cache each for (i.e. the absolute expiration parameter of
- )
-
-
-
-
- Understands how to save MiniProfiler results to a MSSQL database, allowing more permanent storage and
- querying of slow results.
-
-
-
-
- Returns a new SqlServerDatabaseStorage object that will insert into the database identified by connectionString.
-
-
-
-
- Saves 'profiler' to a database under its .
-
-
-
-
- Returns the MiniProfiler identified by 'id' from the database or null when no MiniProfiler exists under that 'id'.
-
-
-
-
- Returns a list of s that haven't been seen by .
-
- User identified by the current .
-
-
-
- Returns a DbConnection for your specific provider.
-
-
-
-
- Returns a DbConnection already opened for execution.
-
-
-
-
- Giving freshly selected collections, this method puts them in the correct
- hierarchy under the 'result' MiniProfiler.
-
-
-
-
- How we connect to the database used to save/load MiniProfiler results.
-
-
-
-
- Formats SQL server queries with a DECLARE up top for parameter values
-
-
-
-
- Formats the SQL in a SQL-Server friendly way, with DECLARE statements for the parameters up top.
-
- The SqlTiming to format
- A formatted SQL string
-
-
-
- Exception thrown by the container when a service cannot be resolved.
-
-
-
-
- Initializes the exception with the service that could not be resolved.
-
-
-
-
- Initializes the exception with the service (and its name) that could not be resolved.
-
-
-
-
- Initializes the exception with an arbitrary message.
-
-
-
-
- Implements a very limited subset of ICacheClient, i.e.
-
- - T Get[T]()
- - Set(path, value)
- - Remove(path)
-
-
-
-
-
- Static type constants for referring to service exec methods
-
-
-
-
- If the underlying command supports BindByName, this sets/clears the underlying
- implementation accordingly. This is required to support OracleCommand from dapper-dot-net
-
-
-
-
- Inherit from this class if you want to host your web services inside an
- ASP.NET application.
-
-
-
-
- Understands how to store a to a MSSQL database.
-
-
-
-
- Creates needed tables. Run this once on your database.
-
-
- Works in sql server and sqlite (with documented removals).
- TODO: add indexes
-
-
-
-
- Returns a new .
-
-
-
-
- Stores to dbo.MiniProfilers under its ;
- stores all child Timings and SqlTimings to their respective tables.
-
-
-
-
- Saves parameter Timing to the dbo.MiniProfilerTimings table.
-
-
-
-
- Saves parameter SqlTiming to the dbo.MiniProfilerSqlTimings table.
-
-
-
-
- Saves any SqlTimingParameters used in the profiled SqlTiming to the dbo.MiniProfilerSqlTimingParameters table.
-
-
-
-
- Loads the MiniProfiler identifed by 'id' from the database.
-
-
-
-
- Returns a list of s that haven't been seen by .
-
- User identified by the current .
-
-
-
- Returns a connection to Sql Server.
-
-
-
-
- A full install of Sql Server can return multiple result sets in one query, allowing the use of .
- However, Sql Server CE and Sqlite cannot do this, so inheritors for those providers can return false here.
-
-
-
-
- Categories of sql statements.
-
-
-
-
- Unknown
-
-
-
-
- DML statements that alter database state, e.g. INSERT, UPDATE
-
-
-
-
- Statements that return a single record
-
-
-
-
- Statements that iterate over a result set
-
-
-
-
- Determines who is responsible for disposing instances
- registered with a container.
-
-
-
-
- Container should dispose provided instances when it is disposed. This is the
- default.
-
-
-
-
- Container does not dispose provided instances.
-
-
-
-
- Default owner, which equals .
-
-
-
-
- Keep default file contents in-memory
-
-
-
-
-
- Information about a DbParameter used in the sql statement profiled by SqlTiming.
-
-
-
-
- Returns true if this has the same parent , and as .
-
-
-
-
- Returns the XOR of certain properties.
-
-
-
-
- Which SqlTiming this Parameter was executed with.
-
-
-
-
- Parameter name, e.g. "@routeName"
-
-
-
-
- The value submitted to the database.
-
-
-
-
- System.Data.DbType, e.g. "String", "Bit"
-
-
-
-
- How large the type is, e.g. for string, size could be 4000
-
-
-
-
- Stores The value with key only if such key doesn't exist at the server yet.
-
- The key.
- The value.
- The expires at.
-
-
-
-
- Adds or replaces the value with key.
-
- The key.
- The value.
- The expires at.
- The check last modified.
- True; if it succeeded
-
-
-
- Writes to response.
- Response headers are customizable by implementing IHasOptions an returning Dictionary of Http headers.
-
- The response.
- Whether or not it was implicity handled by ServiceStack's built-in handlers.
- The default action.
- The serialization context.
- Add prefix to response body if any
- Add suffix to response body if any
-
-
-
-
- Inject alternative container and strategy for resolving Service Types
-
-
-
-
- Keeping around just to compare how slow it is
-
-
-
-
- Common extension methods to use only in this project
-
-
-
-
- Answers true if this String is either null or empty.
-
-
-
-
- Answers true if this String is neither null or empty.
-
-
-
-
- Removes trailing / characters from a path and leaves just one
-
-
-
-
- Removes any leading / characters from a path
-
-
-
-
- Removes any leading / characters from a path
-
-
-
-
- Serializes to a json string.
-
-
-
-
- Encapsulates the behaviour of serving compressed or uncompressed
- serialized results for a particular MimeType and CompressionType.
-
-
-
-
- Wrapper for a db provider factory to enable profiling
-
-
-
-
- Every provider factory must have an Instance public field
-
-
-
-
- Used for db provider apis internally
-
-
-
-
- Allow to re-init the provider factory.
-
-
-
-
-
-
- proxy
-
-
-
-
-
-
- proxy
-
-
-
-
- proxy
-
-
-
-
- proxy
-
-
-
-
- proxy
-
-
-
-
- proxy
-
-
-
-
- proxy
-
-
-
-
- proxy
-
-
-
-
- proxy
-
-
-
-
- proxy
-
-
-
-
- Gets the nullable app setting.
-
- The key.
-
-
-
-
- Gets the app setting.
-
- The key.
-
-
-
-
- Determines wheter the Config section identified by the sectionName exists.
-
- Name of the section.
-
-
-
-
- Returns AppSetting[key] if exists otherwise defaultValue
-
- The key.
- The default value.
-
-
-
-
- Returns AppSetting[key] if exists otherwise defaultValue, for non-string values
-
-
- The key.
- The default value.
-
-
-
-
- Gets the connection string setting.
-
- The key.
-
-
-
-
- Gets the connection string.
-
- The key.
-
-
-
-
- Gets the list from app setting.
-
- The key.
-
-
-
-
- Gets the dictionary from app setting.
-
- The key.
-
-
-
-
- Get the static Parse(string) method on the type supplied
-
-
- A delegate to the type's Parse(string) if it has one
-
-
-
- Gets the constructor info for T(string) if exists.
-
- The type.
-
-
-
-
- Returns the value returned by the 'T.Parse(string)' method if exists otherwise 'new T(string)'.
- e.g. if T was a TimeSpan it will return TimeSpan.Parse(textValue).
- If there is no Parse Method it will attempt to create a new instance of the destined type
-
-
- The default value.
- T.Parse(string) or new T(string) value
-
-
-
diff --git a/lib/ServiceStack.dll b/lib/ServiceStack.dll
deleted file mode 100644
index 0d12f27b..00000000
Binary files a/lib/ServiceStack.dll and /dev/null differ
diff --git a/lib/System.Web.Razor.dll b/lib/System.Web.Razor.dll
deleted file mode 100644
index cd950e6d..00000000
Binary files a/lib/System.Web.Razor.dll and /dev/null differ
diff --git a/lib/sqlite3.dll b/lib/sqlite3.dll
deleted file mode 100644
index 321d48d3..00000000
Binary files a/lib/sqlite3.dll and /dev/null differ
diff --git a/lib/tests/Moq.dll b/lib/tests/Moq.dll
deleted file mode 100644
index abcb72ee..00000000
Binary files a/lib/tests/Moq.dll and /dev/null differ
diff --git a/lib/tests/Moq.xml b/lib/tests/Moq.xml
deleted file mode 100644
index a29e2306..00000000
--- a/lib/tests/Moq.xml
+++ /dev/null
@@ -1,2930 +0,0 @@
-
-
-
- Moq
-
-
-
-
- A that returns an empty default value
- for invocations that do not have expectations or return values, with loose mocks.
- This is the default behavior for a mock.
-
-
-
-
- Interface to be implemented by classes that determine the
- default value of non-expected invocations.
-
-
-
-
- Provides a value for the given member and arguments.
-
- The member to provide a default
- value for.
- Optional arguments passed in
- to the call that requires a default value.
-
-
- Type to mock, which can be an interface or a class.
-
- Provides a mock implementation of .
-
-
- Only abstract and virtual members of classes can be mocked.
-
- The behavior of the mock with regards to the expectations and the actual calls is determined
- by the optional that can be passed to the
- constructor.
-
-
-
- The following example shows setting expectations with specific values
- for method invocations:
-
- //setup - data
- var order = new Order(TALISKER, 50);
- var mock = new Mock<IWarehouse>();
-
- //setup - expectations
- mock.Expect(x => x.HasInventory(TALISKER, 50)).Returns(true);
-
- //exercise
- order.Fill(mock.Object);
-
- //verify
- Assert.True(order.IsFilled);
-
- The following example shows how to use the class
- to specify conditions for arguments instead of specific values:
-
- //setup - data
- var order = new Order(TALISKER, 50);
- var mock = new Mock<IWarehouse>();
-
- //setup - expectations
- //shows how to expect a value within a range
- mock.Expect(x => x.HasInventory(
- It.IsAny<string>(),
- It.IsInRange(0, 100, Range.Inclusive)))
- .Returns(false);
-
- //shows how to throw for unexpected calls. contrast with the "verify" approach of other mock libraries.
- mock.Expect(x => x.Remove(
- It.IsAny<string>(),
- It.IsAny<int>()))
- .Throws(new InvalidOperationException());
-
- //exercise
- order.Fill(mock.Object);
-
- //verify
- Assert.False(order.IsFilled);
-
-
-
-
-
- Helper interface used to hide the base
- members from the fluent API to make it much cleaner
- in Visual Studio intellisense.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Adds an interface implementation to the mock,
- allowing expectations to be set for it.
-
-
- This method can only be called before the first use
- of the mock property, at which
- point the runtime type has already been generated
- and no more interfaces can be added to it.
-
- Also, must be an
- interface and not a class, which must be specified
- when creating the mock instead.
-
-
- The mock type
- has already been generated by accessing the property.
- The specified
- is not an interface.
-
- The following example creates a mock for the main interface
- and later adds to it to verify
- it's called by the consumer code:
-
- var mock = new Mock<IProcessor>();
- mock.Expect(x => x.Execute("ping"));
-
- // add IDisposable interface
- var disposable = mock.As<IDisposable>();
- disposable.Expect(d => d.Dispose()).Verifiable();
-
-
- Type of interface to cast the mock to.
-
-
-
- Sets an expectation on the mocked type for a call to
- to a value returning method.
-
- Type of the return value. Typically omitted as it can be inferred from the expression.
-
- If more than one expectation is set for the same method or property,
- the latest one wins and is the one that will be executed.
-
- Lambda expression that specifies the expected method invocation.
-
-
- mock.Expect(x => x.HasInventory("Talisker", 50)).Returns(true);
-
-
-
-
-
- Sets an expectation on the mocked type for a call to
- to a void method.
-
-
- If more than one expectation is set for the same method or property,
- the latest one wins and is the one that will be executed.
-
- Lambda expression that specifies the expected method invocation.
-
-
- var mock = new Mock<IProcessor>();
- mock.Expect(x => x.Execute("ping"));
-
-
-
-
-
- Sets an expectation on the mocked type for a call to
- to a property getter.
-
-
- If more than one expectation is set for the same property getter,
- the latest one wins and is the one that will be executed.
-
- Type of the property. Typically omitted as it can be inferred from the expression.
- Lambda expression that specifies the expected property getter.
-
-
- mock.ExpectGet(x => x.Suspended)
- .Returns(true);
-
-
-
-
-
- Sets an expectation on the mocked type for a call to
- to a property setter.
-
-
- If more than one expectation is set for the same property setter,
- the latest one wins and is the one that will be executed.
-
- Type of the property. Typically omitted as it can be inferred from the expression.
- Lambda expression that specifies the expected property setter.
-
-
- mock.ExpectSet(x => x.Suspended);
-
-
-
-
-
- Sets an expectation on the mocked type for a call to
- to a property setter with a specific value.
-
-
- More than one expectation can be set for the setter with
- different values.
-
- Type of the property. Typically omitted as it can be inferred from the expression.
- Lambda expression that specifies the expected property setter.
- The value expected to be set for the property.
-
-
- mock.ExpectSet(x => x.Suspended, true);
-
-
-
-
-
- Implements .
-
-
-
-
- Implements .
-
-
-
-
- Verifies that a specific invocation matching the given
- expression was performed on the mock. Use in conjuntion
- with the default .
-
-
- This example assumes that the mock has been used,
- and later we want to verify that a given invocation
- with specific parameters was performed:
-
- var mock = new Mock<IProcessor>();
- // exercise mock
- //...
- // Will throw if the test code didn't call Execute with a "ping" string argument.
- mock.Verify(proc => proc.Execute("ping"));
-
-
- The invocation was not performed on the mock.
- Expression to verify.
-
-
-
- Verifies that a specific invocation matching the given
- expression was performed on the mock. Use in conjuntion
- with the default .
-
-
- This example assumes that the mock has been used,
- and later we want to verify that a given invocation
- with specific parameters was performed:
-
- var mock = new Mock<IWarehouse>();
- // exercise mock
- //...
- // Will throw if the test code didn't call HasInventory.
- mock.Verify(warehouse => warehouse.HasInventory(TALISKER, 50));
-
-
- The invocation was not performed on the mock.
- Expression to verify.
- Type of return value from the expression.
-
-
-
- Verifies that a property was read on the mock.
- Use in conjuntion with the default .
-
-
- This example assumes that the mock has been used,
- and later we want to verify that a given property
- was retrieved from it:
-
- var mock = new Mock<IWarehouse>();
- // exercise mock
- //...
- // Will throw if the test code didn't retrieve the IsClosed property.
- mock.VerifyGet(warehouse => warehouse.IsClosed);
-
-
- The invocation was not performed on the mock.
- Expression to verify.
- Type of the property to verify. Typically omitted as it can
- be inferred from the expression's return type.
-
-
-
- Verifies that a property has been set on the mock.
- Use in conjuntion with the default .
-
-
- This example assumes that the mock has been used,
- and later we want to verify that a given invocation
- with specific parameters was performed:
-
- var mock = new Mock<IWarehouse>();
- // exercise mock
- //...
- // Will throw if the test code didn't set the IsClosed property.
- mock.VerifySet(warehouse => warehouse.IsClosed);
-
-
- The invocation was not performed on the mock.
- Expression to verify.
- Type of the property to verify. Typically omitted as it can
- be inferred from the expression's return type.
-
-
-
- Verifies that a property has been set on the mock to the given value.
- Use in conjuntion with the default .
-
-
- This example assumes that the mock has been used,
- and later we want to verify that a given invocation
- with specific parameters was performed:
-
- var mock = new Mock<IWarehouse>();
- // exercise mock
- //...
- // Will throw if the test code didn't set the IsClosed property to true
- mock.VerifySet(warehouse => warehouse.IsClosed, true);
-
-
- The invocation was not performed on the mock.
- Expression to verify.
- The value that should have been set on the property.
- Type of the property to verify. Typically omitted as it can
- be inferred from the expression's return type.
-
-
-
- Exposes the mocked object instance.
-
-
-
-
- Specifies the behavior to use when returning default values for
- unexpected invocations.
-
-
-
-
- Behavior of the mock, according to the value set in the constructor.
-
-
-
-
- Implements the fluent API.
-
-
-
-
- Defines the Callback verb and overloads.
-
-
-
-
- Specifies a callback to invoke when the method is called.
-
- Callback method to invoke.
-
- The following example specifies a callback to set a boolean
- value that can be used later:
-
- bool called = false;
- mock.Expect(x => x.Execute())
- .Callback(() => called = true);
-
-
-
-
-
- Specifies a callback to invoke when the method is called that receives the original
- arguments.
-
- Argument type of the invoked method.
- Callback method to invoke.
-
- Invokes the given callback with the concrete invocation argument value.
-
- Notice how the specific string argument is retrieved by simply declaring
- it as part of the lambda expression for the callback:
-
-
- mock.Expect(x => x.Execute(It.IsAny<string>()))
- .Callback((string command) => Console.WriteLine(command));
-
-
-
-
-
- Specifies a callback to invoke when the method is called that receives the original
- arguments.
-
- Type of the first argument of the invoked method.
- Type of the second argument of the invoked method.
- Callback method to invoke.
-
- Invokes the given callback with the concrete invocation arguments values.
-
- Notice how the specific arguments are retrieved by simply declaring
- them as part of the lambda expression for the callback:
-
-
- mock.Expect(x => x.Execute(
- It.IsAny<string>(),
- It.IsAny<string>()))
- .Callback((string arg1, string arg2) => Console.WriteLine(arg1 + arg2));
-
-
-
-
-
- Specifies a callback to invoke when the method is called that receives the original
- arguments.
-
- Type of the first argument of the invoked method.
- Type of the second argument of the invoked method.
- Type of the third argument of the invoked method.
- Callback method to invoke.
-
- Invokes the given callback with the concrete invocation arguments values.
-
- Notice how the specific arguments are retrieved by simply declaring
- them as part of the lambda expression for the callback:
-
-
- mock.Expect(x => x.Execute(
- It.IsAny<string>(),
- It.IsAny<string>(),
- It.IsAny<int>()))
- .Callback((string arg1, string arg2, int arg3) => Console.WriteLine(arg1 + arg2 + arg3));
-
-
-
-
-
- Specifies a callback to invoke when the method is called that receives the original
- arguments.
-
- Type of the first argument of the invoked method.
- Type of the second argument of the invoked method.
- Type of the third argument of the invoked method.
- Type of the fourth argument of the invoked method.
- Callback method to invoke.
-
- Invokes the given callback with the concrete invocation arguments values.
-
- Notice how the specific arguments are retrieved by simply declaring
- them as part of the lambda expression for the callback:
-
-
- mock.Expect(x => x.Execute(
- It.IsAny<string>(),
- It.IsAny<string>(),
- It.IsAny<int>(),
- It.IsAny<bool>()))
- .Callback((string arg1, string arg2, int arg3, bool arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4));
-
-
-
-
-
- Defines occurrence members to constraint expectations.
-
-
-
-
- The expected invocation can happen at most once.
-
-
-
- var mock = new Mock<ICommand>();
- mock.Expect(foo => foo.Execute("ping"))
- .AtMostOnce();
-
-
-
-
-
- The expected invocation can happen at most specified number of times.
-
-
-
- var mock = new Mock<ICommand>();
- mock.Expect(foo => foo.Execute("ping"))
- .AtMost( 5 );
-
-
-
-
-
- Defines the Verifiable verb.
-
-
-
-
- Marks the expectation as verifiable, meaning that a call
- to will check if this particular
- expectation was met.
-
-
- The following example marks the expectation as verifiable:
-
- mock.Expect(x => x.Execute("ping"))
- .Returns(true)
- .Verifiable();
-
-
-
-
-
- Defines the Raises verb.
-
-
-
-
- Specifies the mocked event that will be raised
- when the expectation is met.
-
- The mocked event, retrieved from
- or .
-
- The event args to pass when raising the event.
-
- The following example shows how to set an expectation that will
- raise an event when it's met:
-
- var mock = new Mock<IContainer>();
- // create handler to associate with the event to raise
- var handler = mock.CreateEventHandler();
- // associate the handler with the event to raise
- mock.Object.Added += handler;
- // set the expectation and the handler to raise
- mock.Expect(add => add.Add(It.IsAny<string>(), It.IsAny<object>()))
- .Raises(handler, EventArgs.Empty);
-
-
-
-
-
- Specifies the mocked event that will be raised
- when the expectation is met.
-
- The mocked event, retrieved from
- or .
-
- A function that will build the
- to pass when raising the event.
-
-
-
-
- Specifies the mocked event that will be raised
- when the expectation is met.
-
- The mocked event, retrieved from
- or .
-
- A function that will build the
- to pass when raising the event.
- Type of the argument received by the expected invocation.
-
-
-
-
- Specifies the mocked event that will be raised
- when the expectation is met.
-
- The mocked event, retrieved from
- or .
-
- A function that will build the
- to pass when raising the event.
- Type of the first argument received by the expected invocation.
- Type of the second argument received by the expected invocation.
-
-
-
-
- Specifies the mocked event that will be raised
- when the expectation is met.
-
- The mocked event, retrieved from
- or .
-
- A function that will build the
- to pass when raising the event.
- Type of the first argument received by the expected invocation.
- Type of the second argument received by the expected invocation.
- Type of the third argument received by the expected invocation.
-
-
-
-
- Specifies the mocked event that will be raised
- when the expectation is met.
-
- The mocked event, retrieved from
- or .
-
- A function that will build the
- to pass when raising the event.
- Type of the first argument received by the expected invocation.
- Type of the second argument received by the expected invocation.
- Type of the third argument received by the expected invocation.
- Type of the fourth argument received by the expected invocation.
-
-
-
-
- Marks a method as a matcher, which allows complete replacement
- of the built-in class with your own argument
- matching rules.
-
-
- The argument matching is used to determine whether a concrete
- invocation in the mock matches a given expectation. This
- matching mechanism is fully extensible.
-
- There are two parts of a matcher: the compiler matcher
- and the runtime matcher.
-
-
- Compiler matcher
- Used to satisfy the compiler requirements for the
- argument. Needs to be a method optionally receiving any arguments
- you might need for the matching, but with a return type that
- matches that of the argument.
-
- Let's say I want to match a lists of orders that contains
- a particular one. I might create a compiler matcher like the following:
-
-
- public static class Orders
- {
- [Matcher]
- public static IEnumerable<Order> Contains(Order order)
- {
- return null;
- }
- }
-
- Now we can invoke this static method instead of an argument in an
- invocation:
-
- var order = new Order { ... };
- var mock = new Mock<IRepository<Order>>();
-
- mock.Expect(x => x.Save(Orders.Contains(order)))
- .Throws<ArgumentException>();
-
- Note that the return value from the compiler matcher is irrelevant.
- This method will never be called, and is just used to satisfy the
- compiler and to signal Moq that this is not a method that we want
- to be invoked at runtime.
-
-
-
- Runtime matcher
-
- The runtime matcher is the one that will actually perform evaluation
- when the test is run, and is defined by convention to have the
- same signature as the compiler matcher, but where the return
- value is the first argument to the call, which contains the
- object received by the actual invocation at runtime:
-
- public static bool Contains(IEnumerable<Order> orders, Order order)
- {
- return orders.Contains(order);
- }
-
- At runtime, the mocked method will be invoked with a specific
- list of orders. This value will be passed to this runtime
- matcher as the first argument, while the second argument is the
- one specified in the expectation (x.Save(Orders.Contains(order))).
-
- The boolean returned determines whether the given argument has been
- matched. If all arguments to the expected method are matched, then
- the expectation is verified.
-
-
-
-
-
- Using this extensible infrastructure, you can easily replace the entire
- set of matchers with your own. You can also avoid the
- typical (and annoying) lengthy expressions that result when you have
- multiple arguments that use generics.
-
-
- The following is the complete example explained above:
-
- public static class Orders
- {
- [Matcher]
- public static IEnumerable<Order> Contains(Order order)
- {
- return null;
- }
-
- public static bool Contains(IEnumerable<Order> orders, Order order)
- {
- return orders.Contains(order);
- }
- }
-
- And the concrete test using this matcher:
-
- var order = new Order { ... };
- var mock = new Mock<IRepository<Order>>();
-
- mock.Expect(x => x.Save(Orders.Contains(order)))
- .Throws<ArgumentException>();
-
- // use mock, invoke Save, and have the matcher filter.
-
-
-
-
-
- Casts the expression to a lambda expression, removing
- a cast if there's any.
-
-
-
-
- Casts the body of the lambda expression to a .
-
- If the body is not a method call.
-
-
-
- Converts the body of the lambda expression into the referenced by it.
-
-
-
-
- Checks whether the body of the lambda expression is a property access.
-
-
-
-
- Checks whether the expression is a property access.
-
-
-
-
- Checks whether the body of the lambda expression is a property indexer, which is true
- when the expression is an whose
- has
- equal to .
-
-
-
-
- Checks whether the expression is a property indexer, which is true
- when the expression is an whose
- has
- equal to .
-
-
-
-
- Creates an expression that casts the given expression to the
- type.
-
-
-
-
- TODO: remove this code when https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331583
- is fixed.
-
-
-
-
- Base class for visitors of expression trees.
-
-
- Provides the functionality of the internal visitor base class that
- comes with Linq.
- Matt's comments on the implementation:
-
- In this variant there is only one visitor class that dispatches calls to the general
- Visit function out to specific VisitXXX methods corresponding to different node types.
- Note not every node type gets it own method, for example all binary operators are
- treated in one VisitBinary method. The nodes themselves do not directly participate
- in the visitation process. They are treated as just data.
- The reason for this is that the quantity of visitors is actually open ended.
- You can write your own. Therefore no semantics of visiting is coupled into the node classes.
- It’s all in the visitors. The default visit behavior for node XXX is baked into the base
- class’s version of VisitXXX.
-
-
- Another variant is that all VisitXXX methods return a node.
- The Expression tree nodes are immutable. In order to change the tree you must construct
- a new one. The default VisitXXX methods will construct a new node if any of its sub-trees change.
- If no changes are made then the same node is returned. That way if you make a change
- to a node (by making a new node) deep down in a tree, the rest of the tree is rebuilt
- automatically for you.
-
- See: http://blogs.msdn.com/mattwar/archive/2007/07/31/linq-building-an-iqueryable-provider-part-ii.aspx.
-
- Matt Warren: http://blogs.msdn.com/mattwar
- Documented by InSTEDD: http://www.instedd.org
-
-
-
- Default constructor used by derived visitors.
-
-
-
-
- Visits the , determining which
- of the concrete Visit methods to call.
-
-
-
-
- Visits the generic , determining and
- calling the appropriate Visit method according to the
- , which will result
- in calls to ,
- or .
-
-
-
-
-
-
- Visits the initializer by
- calling the for the
- .
-
-
-
-
- Visits the expression by
- calling with the expression.
-
-
-
-
- Visits the by calling
- with the ,
- and
- expressions.
-
-
-
-
- Visits the by calling
- with the
- expression.
-
-
-
-
- Visits the , by default returning the
- same without further behavior.
-
-
-
-
- Visits the by calling
- with the ,
- and
- expressions.
-
-
-
-
- Visits the returning it
- by default without further behavior.
-
-
-
-
- Visits the by calling
- with the
- expression.
-
-
-
-
- Visits the by calling
- with the expression,
- and then with the .
-
-
-
-
-
-
- Visits the by iterating
- the list and visiting each in it.
-
-
-
-
-
-
- Visits the by calling
- with the expression.
-
-
-
-
-
-
- Visits the by calling
- with the .
-
-
-
-
-
-
- Visits the by calling
- with the
- .
-
-
-
-
-
-
- Visits the by
- calling for each in the
- collection.
-
-
-
-
-
-
- Visits the by
- calling for each
- in the collection.
-
-
-
-
-
-
- Visits the by calling
- with the expression.
-
-
-
-
-
-
- Visits the by calling
- with the
- expressions.
-
-
-
-
-
-
- Visits the by calling
- with the
- expression, then with the
- .
-
-
-
-
- Visits the by calling
- with the
- expression, and then with the
- .
-
-
-
-
-
-
- Visits the by calling
- with the
- expressions.
-
-
-
-
-
-
- Visits the by calling
- with the
- expressions.
-
-
-
-
-
-
- Provides partial evaluation of subtrees, whenever they can be evaluated locally.
-
- Matt Warren: http://blogs.msdn.com/mattwar
- Documented by InSTEDD: http://www.instedd.org
-
-
-
- Performs evaluation and replacement of independent sub-trees
-
- The root of the expression tree.
- A function that decides whether a given expression
- node can be part of the local function.
- A new tree with sub-trees evaluated and replaced.
-
-
-
- Performs evaluation and replacement of independent sub-trees
-
- The root of the expression tree.
- A new tree with sub-trees evaluated and replaced.
-
-
-
- Evaluates and replaces sub-trees when first candidate is reached (top-down)
-
-
-
-
- Performs bottom-up analysis to determine which nodes can possibly
- be part of an evaluated sub-tree.
-
-
-
-
- Checks an argument to ensure it isn't null.
-
- The argument value to check.
- The name of the argument.
-
-
-
- Checks a string argument to ensure it isn't null or empty.
-
- The argument value to check.
- The name of the argument.
-
-
-
- Defines the Returns verb for property get expectations.
-
- Type of the property.
-
-
-
- Base interface for .
-
-
-
-
- Specifies the value to return.
-
- The value to return, or .
-
- Return a true value from the property getter call:
-
- mock.ExpectGet(x => x.Suspended)
- .Returns(true);
-
-
-
-
-
- Specifies a function that will calculate the value to return for the property.
-
- The function that will calculate the return value.
-
- Return a calculated value when the property is retrieved:
-
- mock.ExpectGet(x => x.Suspended)
- .Returns(() => returnValues[0]);
-
- The lambda expression to retrieve the return value is lazy-executed,
- meaning that its value may change depending on the moment the property
- is retrieved and the value the returnValues array has at
- that moment.
-
-
-
-
- Defines the Callback verb for property getter expectations.
-
-
- Type of the property.
-
-
-
- Specifies a callback to invoke when the property is retrieved.
-
- Callback method to invoke.
-
- Invokes the given callback with the property value being set.
-
- mock.ExpectGet(x => x.Suspended)
- .Callback(() => called = true)
- .Returns(true);
-
-
-
-
-
- Implements the fluent API.
-
-
-
-
- Implements the fluent API.
-
-
-
-
- Defines the Returns verb.
-
- Type of the return value from the expression.
-
-
-
- Specifies the value to return.
-
- The value to return, or .
-
- Return a true value from the method call:
-
- mock.Expect(x => x.Execute("ping"))
- .Returns(true);
-
-
-
-
-
- Specifies a function that will calculate the value to return from the method.
-
- The function that will calculate the return value.
-
- Return a calculated value when the method is called:
-
- mock.Expect(x => x.Execute("ping"))
- .Returns(() => returnValues[0]);
-
- The lambda expression to retrieve the return value is lazy-executed,
- meaning that its value may change depending on the moment the method
- is executed and the value the returnValues array has at
- that moment.
-
-
-
-
- Specifies a function that will calculate the value to return from the method,
- retrieving the arguments for the invocation.
-
- Type of the argument of the invoked method.
- The function that will calculate the return value.
-
- Return a calculated value which is evaluated lazily at the time of the invocation.
-
- The lookup list can change between invocations and the expectation
- will return different values accordingly. Also, notice how the specific
- string argument is retrieved by simply declaring it as part of the lambda
- expression:
-
-
- mock.Expect(x => x.Execute(It.IsAny<string>()))
- .Returns((string command) => returnValues[command]);
-
-
-
-
-
- Specifies a function that will calculate the value to return from the method,
- retrieving the arguments for the invocation.
-
- Type of the first argument of the invoked method.
- Type of the second argument of the invoked method.
- The function that will calculate the return value.
-
- Return a calculated value which is evaluated lazily at the time of the invocation.
-
- The return value is calculated from the value of the actual method invocation arguments.
- Notice how the arguments are retrieved by simply declaring them as part of the lambda
- expression:
-
-
- mock.Expect(x => x.Execute(
- It.IsAny<string>(),
- It.IsAny<string>()))
- .Returns((string arg1, string arg2) => arg1 + arg2);
-
-
-
-
-
- Specifies a function that will calculate the value to return from the method,
- retrieving the arguments for the invocation.
-
- Type of the first argument of the invoked method.
- Type of the second argument of the invoked method.
- Type of the third argument of the invoked method.
- The function that will calculate the return value.
-
- Return a calculated value which is evaluated lazily at the time of the invocation.
-
- The return value is calculated from the value of the actual method invocation arguments.
- Notice how the arguments are retrieved by simply declaring them as part of the lambda
- expression:
-
-
- mock.Expect(x => x.Execute(
- It.IsAny<string>(),
- It.IsAny<string>(),
- It.IsAny<int>()))
- .Returns((string arg1, string arg2, int arg3) => arg1 + arg2 + arg3);
-
-
-
-
-
- Specifies a function that will calculate the value to return from the method,
- retrieving the arguments for the invocation.
-
- Type of the first argument of the invoked method.
- Type of the second argument of the invoked method.
- Type of the third argument of the invoked method.
- Type of the fourth argument of the invoked method.
- The function that will calculate the return value.
-
- Return a calculated value which is evaluated lazily at the time of the invocation.
-
- The return value is calculated from the value of the actual method invocation arguments.
- Notice how the arguments are retrieved by simply declaring them as part of the lambda
- expression:
-
-
- mock.Expect(x => x.Execute(
- It.IsAny<string>(),
- It.IsAny<string>(),
- It.IsAny<int>(),
- It.IsAny<bool>()))
- .Returns((string arg1, string arg2, int arg3, bool arg4) => arg1 + arg2 + arg3 + arg4);
-
-
-
-
-
- Defines the Throws verb.
-
-
-
-
- Specifies the exception to throw when the method is invoked.
-
- Exception instance to throw.
-
- This example shows how to throw an exception when the method is
- invoked with an empty string argument:
-
- mock.Expect(x => x.Execute(""))
- .Throws(new ArgumentException());
-
-
-
-
-
- Specifies the type of exception to throw when the method is invoked.
-
- Type of exception to instantiate and throw when the expectation is met.
-
- This example shows how to throw an exception when the method is
- invoked with an empty string argument:
-
- mock.Expect(x => x.Execute(""))
- .Throws<ArgumentException>();
-
-
-
-
-
- Implements the fluent API.
-
-
-
-
- Implements the fluent API.
-
-
-
-
- Defines the Callback verb and overloads for callbacks on
- expectations that return a value.
-
- Type of the return value of the expectation.
-
-
-
- Specifies a callback to invoke when the method is called.
-
- Callback method to invoke.
-
- The following example specifies a callback to set a boolean
- value that can be used later:
-
- bool called = false;
- mock.Expect(x => x.Execute())
- .Callback(() => called = true)
- .Returns(true);
-
- Note that in the case of value-returning methods, after the Callback
- call you can still specify the return value.
-
-
-
-
- Specifies a callback to invoke when the method is called that receives the original
- arguments.
-
- Type of the argument of the invoked method.
- Callback method to invoke.
-
- Invokes the given callback with the concrete invocation argument value.
-
- Notice how the specific string argument is retrieved by simply declaring
- it as part of the lambda expression for the callback:
-
-
- mock.Expect(x => x.Execute(It.IsAny<string>()))
- .Callback((string command) => Console.WriteLine(command))
- .Returns(true);
-
-
-
-
-
- Specifies a callback to invoke when the method is called that receives the original
- arguments.
-
- Type of the first argument of the invoked method.
- Type of the second argument of the invoked method.
- Callback method to invoke.
-
- Invokes the given callback with the concrete invocation arguments values.
-
- Notice how the specific arguments are retrieved by simply declaring
- them as part of the lambda expression for the callback:
-
-
- mock.Expect(x => x.Execute(
- It.IsAny<string>(),
- It.IsAny<string>()))
- .Callback((string arg1, string arg2) => Console.WriteLine(arg1 + arg2))
- .Returns(true);
-
-
-
-
-
- Specifies a callback to invoke when the method is called that receives the original
- arguments.
-
- Type of the first argument of the invoked method.
- Type of the second argument of the invoked method.
- Type of the third argument of the invoked method.
- Callback method to invoke.
-
- Invokes the given callback with the concrete invocation arguments values.
-
- Notice how the specific arguments are retrieved by simply declaring
- them as part of the lambda expression for the callback:
-
-
- mock.Expect(x => x.Execute(
- It.IsAny<string>(),
- It.IsAny<string>(),
- It.IsAny<int>()))
- .Callback((string arg1, string arg2, int arg3) => Console.WriteLine(arg1 + arg2 + arg3))
- .Returns(true);
-
-
-
-
-
- Specifies a callback to invoke when the method is called that receives the original
- arguments.
-
- Type of the first argument of the invoked method.
- Type of the second argument of the invoked method.
- Type of the third argument of the invoked method.
- Type of the fourth argument of the invoked method.
- Callback method to invoke.
-
- Invokes the given callback with the concrete invocation arguments values.
-
- Notice how the specific arguments are retrieved by simply declaring
- them as part of the lambda expression for the callback:
-
-
- mock.Expect(x => x.Execute(
- It.IsAny<string>(),
- It.IsAny<string>(),
- It.IsAny<int>(),
- It.IsAny<bool>()))
- .Callback((string arg1, string arg2, int arg3, bool arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4))
- .Returns(true);
-
-
-
-
-
- Implemented by all generated mock object instances.
-
-
-
-
- Implemented by all generated mock object instances.
-
-
-
-
- Reference the Mock that contains this as the mock.Object value.
-
-
-
-
- Reference the Mock that contains this as the mock.Object value.
-
-
-
-
- Implements the actual interception and method invocation for
- all mocks.
-
-
-
-
- Get an eventInfo for a given event name. Search type ancestors depth first if necessary.
-
- Name of the event, with the set_ or get_ prefix already removed
-
-
-
- Given a type return all of its ancestors, both types and interfaces.
-
- The type to find immediate ancestors of
-
-
-
- Implements the fluent API.
-
-
-
-
- Defines the Never verb.
-
-
-
-
- The expected invocation is never expected to happen.
-
-
-
- var mock = new Mock<ICommand>();
- mock.Expect(foo => foo.Execute("ping"))
- .Never();
-
-
-
- is always verified inmediately as
- the invocations are performed, like strict mocks do
- with unexpected invocations.
-
-
-
-
- Implements the fluent API.
-
-
-
-
- Implements the fluent API.
-
-
-
-
- Implements the fluent API.
-
-
-
-
- Defines the Callback verb for property setter expectations.
-
-
-
- Type of the property.
-
-
-
- Specifies a callback to invoke when the property is set that receives the
- property value being set.
-
- Callback method to invoke.
-
- Invokes the given callback with the property value being set.
-
- mock.ExpectSet(x => x.Suspended)
- .Callback((bool state) => Console.WriteLine(state));
-
-
-
-
-
- Allows the specification of a matching condition for an
- argument in a method invocation, rather than a specific
- argument value. "It" refers to the argument being matched.
-
-
- This class allows the expectation to match a method invocation
- with an arbitrary value, with a value in a specified range, or
- even one that matches a given predicate.
-
-
-
-
- Matches any value of the given type.
-
-
- Typically used when the actual argument value for a method
- call is not relevant.
-
-
-
- // Throws an exception for a call to Remove with any string value.
- mock.Expect(x => x.Remove(It.IsAny<string>())).Throws(new InvalidOperationException());
-
-
- Type of the value.
-
-
-
- Matches any value that satisfies the given predicate.
-
- Type of the argument to check.
- The predicate used to match the method argument.
-
- Allows the specification of a predicate to perform matching
- of method call arguments.
-
-
- This example shows how to return the value 1 whenever the argument to the
- Do method is an even number.
-
- mock.Expect(x => x.Do(It.Is<int>(i => i % 2 == 0)))
- .Returns(1);
-
- This example shows how to throw an exception if the argument to the
- method is a negative number:
-
- mock.Expect(x => x.GetUser(It.Is<int>(i => i < 0)))
- .Throws(new ArgumentException());
-
-
-
-
-
- Matches any value that is in the range specified.
-
- Type of the argument to check.
- The lower bound of the range.
- The upper bound of the range.
- The kind of range. See .
-
- The following example shows how to expect a method call
- with an integer argument within the 0..100 range.
-
- mock.Expect(x => x.HasInventory(
- It.IsAny<string>(),
- It.IsInRange(0, 100, Range.Inclusive)))
- .Returns(false);
-
-
-
-
-
- Matches a string argument if it matches the given regular expression pattern.
-
- The pattern to use to match the string argument value.
-
- The following example shows how to expect a call to a method where the
- string argument matches the given regular expression:
-
- mock.Expect(x => x.Check(It.IsRegex("[a-z]+"))).Returns(1);
-
-
-
-
-
- Matches a string argument if it matches the given regular expression pattern.
-
- The pattern to use to match the string argument value.
- The options used to interpret the pattern.
-
- The following example shows how to expect a call to a method where the
- string argument matches the given regular expression, in a case insensitive way:
-
- mock.Expect(x => x.Check(It.IsRegex("[a-z]+", RegexOptions.IgnoreCase))).Returns(1);
-
-
-
-
-
- Matcher to treat static functions as matchers.
-
- mock.Expect(x => x.StringMethod(A.MagicString()));
-
- pbulic static class A
- {
- [Matcher]
- public static string MagicString() { return null; }
- public static bool MagicString(string arg)
- {
- return arg == "magic";
- }
- }
-
- Will success if: mock.Object.StringMethod("magic");
- and fail with any other call.
-
-
-
-
- We need this non-generics base class so that
- we can use from
- generic code.
-
-
-
-
- Base class for mocks and static helper class with methods that
- apply to mocked objects, such as to
- retrieve a from an object instance.
-
-
-
-
- Base mock interface exposing non-generic members.
-
-
-
-
- Creates a handler that can be associated to an event receiving
- the given and can be used
- to raise the event.
-
- Type of
- data passed in to the event.
-
- This example shows how to invoke an event with a custom event arguments
- class in a view that will cause its corresponding presenter to
- react by changing its state:
-
- var mockView = new Mock<IOrdersView>();
- var mockedEvent = mockView.CreateEventHandler<OrderEventArgs>();
-
- var presenter = new OrdersPresenter(mockView.Object);
-
- // Check that the presenter has no selection by default
- Assert.Null(presenter.SelectedOrder);
-
- // Create a mock event handler of the appropriate type
- var handler = mockView.CreateEventHandler<OrderEventArgs>();
- // Associate it with the event we want to raise
- mockView.Object.Cancel += handler;
- // Finally raise the event with a specific arguments data
- handler.Raise(new OrderEventArgs { Order = new Order("moq", 500) });
-
- // Now the presenter reacted to the event, and we have a selected order
- Assert.NotNull(presenter.SelectedOrder);
- Assert.Equal("moq", presenter.SelectedOrder.ProductName);
-
-
-
-
-
- Creates a handler that can be associated to an event receiving
- a generic and can be used
- to raise the event.
-
-
- This example shows how to invoke a generic event in a view that will
- cause its corresponding presenter to react by changing its state:
-
- var mockView = new Mock<IOrdersView>();
- var mockedEvent = mockView.CreateEventHandler();
-
- var presenter = new OrdersPresenter(mockView.Object);
-
- // Check that the presenter is not in the "Canceled" state
- Assert.False(presenter.IsCanceled);
-
- // Create a mock event handler of the appropriate type
- var handler = mockView.CreateEventHandler();
- // Associate it with the event we want to raise
- mockView.Object.Cancel += handler;
- // Finally raise the event
- handler.Raise(EventArgs.Empty);
-
- // Now the presenter reacted to the event, and changed its state
- Assert.True(presenter.IsCanceled);
-
-
-
-
-
- Verifies that all verifiable expectations have been met.
-
-
- This example sets up an expectation and marks it as verifiable. After
- the mock is used, a call is issued on the mock
- to ensure the method in the expectation was invoked:
-
- var mock = new Mock<IWarehouse>();
- mock.Expect(x => x.HasInventory(TALISKER, 50)).Verifiable().Returns(true);
- ...
- // other test code
- ...
- // Will throw if the test code has didn't call HasInventory.
- mock.Verify();
-
-
- Not all verifiable expectations were met.
-
-
-
- Verifies all expectations regardless of whether they have
- been flagged as verifiable.
-
-
- This example sets up an expectation without marking it as verifiable. After
- the mock is used, a call is issued on the mock
- to ensure that all expectations are met:
-
- var mock = new Mock<IWarehouse>();
- mock.Expect(x => x.HasInventory(TALISKER, 50)).Returns(true);
- ...
- // other test code
- ...
- // Will throw if the test code has didn't call HasInventory, even
- // that expectation was not marked as verifiable.
- mock.VerifyAll();
-
-
- At least one expectation was not met.
-
-
-
- Whether the base member virtual implementation will be called
- for mocked classes if no expectation is met. Defaults to .
-
-
-
-
- Determines how to generate default values for loose mocks on
- unexpected invocations.
-
-
-
-
- The mocked object instance.
-
-
-
-
- Retrieves the mock object for the given object instance.
-
- Type of the mock to retrieve. Can be omitted as it's inferred
- from the object instance passed in as the instance.
- The instance of the mocked object.
- The mock associated with the mocked object.
- The received instance
- was not created by Moq.
-
- The following example shows how to add a new expectation to an object
- instance which is not the original but rather
- the object associated with it:
-
- // Typed instance, not the mock, is retrieved from some test API.
- HttpContextBase context = GetMockContext();
-
- // context.Request is the typed object from the "real" API
- // so in order to add an expectation to it, we need to get
- // the mock that "owns" it
- Mock<HttpRequestBase> request = Mock.Get(context.Request);
- mock.Expect(req => req.AppRelativeCurrentExecutionFilePath)
- .Returns(tempUrl);
-
-
-
-
-
- Initializes the mock
-
-
-
-
- Returns the mocked object value.
-
-
-
-
- Implements .
-
-
-
-
- Implements .
-
-
-
-
- Gets the interceptor target for the given expression and root mock,
- building the intermediate hierarchy of mock objects if necessary.
-
-
-
-
- Implements .
-
- Type of event argument class.
-
-
-
- Implements
-
-
-
-
- Base class for mocks and static helper class with methods that
- apply to mocked objects, such as to
- retrieve a from an object instance.
-
-
-
-
- Exposes the list of extra interfaces implemented by the mock.
-
-
-
-
- Implements .
-
-
-
-
- Implements .
-
-
-
-
- Implements .
-
-
-
-
- Specifies the class that will determine the default
- value to return when invocations are made that
- have no expectations and need to return a default
- value (for loose mocks).
-
-
-
-
- The mocked object instance. Implements .
-
-
-
-
- Retrieves the type of the mocked object, its generic type argument.
- This is used in the auto-mocking of hierarchy access.
-
-
-
-
- Represents a generic event that has been mocked and can
- be rised.
-
-
-
-
- Provided solely to allow the interceptor to determine when the attached
- handler is coming from this mocked event so we can assign the
- corresponding EventInfo for it.
-
-
-
-
- Raises the associated event with the given
- event argument data.
-
-
-
-
- Provides support for attaching a to
- a generic event.
-
- Event to convert.
-
-
-
- Event raised whenever the mocked event is rised.
-
-
-
-
- Options to customize the behavior of the mock.
-
-
-
-
- Causes the mock to always throw
- an exception for invocations that don't have a
- corresponding expectation.
-
-
-
-
- Will never throw exceptions, returning default
- values when necessary (null for reference types,
- zero for value types or empty enumerables and arrays).
-
-
-
-
- Default mock behavior, which equals .
-
-
-
-
- Exception thrown by mocks when expectations are not met,
- the mock is not properly setup, etc.
-
-
- A distinct exception type is provided so that exceptions
- thrown by the mock can be differentiated in tests that
- expect other exceptions to be thrown (i.e. ArgumentException).
-
- Richer exception hierarchy/types are not provided as
- tests typically should not catch or expect exceptions
- from the mocks. These are typically the result of changes
- in the tested class or its collaborators implementation, and
- result in fixes in the mock setup so that they dissapear and
- allow the test to pass.
-
-
-
-
-
- Supports the serialization infrastructure.
-
- Serialization information.
- Streaming context.
-
-
-
- Supports the serialization infrastructure.
-
- Serialization information.
- Streaming context.
-
-
-
- Made internal as it's of no use for
- consumers, but it's important for
- our own tests.
-
-
-
-
- Used by the mock factory to accumulate verification
- failures.
-
-
-
-
- Supports the serialization infrastructure.
-
-
-
-
- Utility factory class to use to construct multiple
- mocks when consistent verification is
- desired for all of them.
-
-
- If multiple mocks will be created during a test, passing
- the desired (if different than the
- or the one
- passed to the factory constructor) and later verifying each
- mock can become repetitive and tedious.
-
- This factory class helps in that scenario by providing a
- simplified creation of multiple mocks with a default
- (unless overriden by calling
- ) and posterior verification.
-
-
-
- The following is a straightforward example on how to
- create and automatically verify strict mocks using a :
-
- var factory = new MockFactory(MockBehavior.Strict);
-
- var foo = factory.Create<IFoo>();
- var bar = factory.Create<IBar>();
-
- // no need to call Verifiable() on the expectation
- // as we'll be validating all expectations anyway.
- foo.Expect(f => f.Do());
- bar.Expect(b => b.Redo());
-
- // exercise the mocks here
-
- factory.VerifyAll();
- // At this point all expectations are already checked
- // and an optional MockException might be thrown.
- // Note also that because the mocks are strict, any invocation
- // that doesn't have a matching expectation will also throw a MockException.
-
- The following examples shows how to setup the factory
- to create loose mocks and later verify only verifiable expectations:
-
- var factory = new MockFactory(MockBehavior.Loose);
-
- var foo = factory.Create<IFoo>();
- var bar = factory.Create<IBar>();
-
- // this expectation will be verified at the end of the "using" block
- foo.Expect(f => f.Do()).Verifiable();
-
- // this expectation will NOT be verified
- foo.Expect(f => f.Calculate());
-
- // this expectation will be verified at the end of the "using" block
- bar.Expect(b => b.Redo()).Verifiable();
-
- // exercise the mocks here
- // note that because the mocks are Loose, members
- // called in the interfaces for which no matching
- // expectations exist will NOT throw exceptions,
- // and will rather return default values.
-
- factory.Verify();
- // At this point verifiable expectations are already checked
- // and an optional MockException might be thrown.
-
- The following examples shows how to setup the factory with a
- default strict behavior, overriding that default for a
- specific mock:
-
- var factory = new MockFactory(MockBehavior.Strict);
-
- // this particular one we want loose
- var foo = factory.Create<IFoo>(MockBehavior.Loose);
- var bar = factory.Create<IBar>();
-
- // set expectations
-
- // exercise the mocks here
-
- factory.Verify();
-
-
-
-
-
-
- Initializes the factory with the given
- for newly created mocks from the factory.
-
- The behavior to use for mocks created
- using the factory method if not overriden
- by using the overload.
-
-
-
- Creates a new mock with the default
- specified at factory construction time.
-
- Type to mock.
- A new .
-
-
- var factory = new MockFactory(MockBehavior.Strict);
-
- var foo = factory.Create<IFoo>();
- // use mock on tests
-
- factory.VerifyAll();
-
-
-
-
-
- Creates a new mock with the default
- specified at factory construction time and with the
- the given constructor arguments for the class.
-
-
- The mock will try to find the best match constructor given the
- constructor arguments, and invoke that to initialize the instance.
- This applies only to classes, not interfaces.
-
- Type to mock.
- Constructor arguments for mocked classes.
- A new .
-
-
- var factory = new MockFactory(MockBehavior.Default);
-
- var mock = factory.Create<MyBase>("Foo", 25, true);
- // use mock on tests
-
- factory.Verify();
-
-
-
-
-
- Creates a new mock with the given .
-
- Type to mock.
- Behavior to use for the mock, which overrides
- the default behavior specified at factory construction time.
- A new .
-
- The following example shows how to create a mock with a different
- behavior to that specified as the default for the factory:
-
- var factory = new MockFactory(MockBehavior.Strict);
-
- var foo = factory.Create<IFoo>(MockBehavior.Loose);
-
-
-
-
-
- Creates a new mock with the given
- and with the the given constructor arguments for the class.
-
-
- The mock will try to find the best match constructor given the
- constructor arguments, and invoke that to initialize the instance.
- This applies only to classes, not interfaces.
-
- Type to mock.
- Behavior to use for the mock, which overrides
- the default behavior specified at factory construction time.
- Constructor arguments for mocked classes.
- A new .
-
- The following example shows how to create a mock with a different
- behavior to that specified as the default for the factory, passing
- constructor arguments:
-
- var factory = new MockFactory(MockBehavior.Default);
-
- var mock = factory.Create<MyBase>(MockBehavior.Strict, "Foo", 25, true);
-
-
-
-
-
- Implements creation of a new mock within the factory.
-
- Type to mock.
- The behavior for the new mock.
- Optional arguments for the construction of the mock.
-
-
-
- Verifies all verifiable expectations on all mocks created
- by this factory.
-
-
- One or more mocks had expectations that were not satisfied.
-
-
-
- Verifies all verifiable expectations on all mocks created
- by this factory.
-
-
- One or more mocks had expectations that were not satisfied.
-
-
-
- Invokes for each mock
- in , and accumulates the resulting
- that might be
- thrown from the action.
-
- The action to execute against
- each mock.
-
-
-
- Whether the base member virtual implementation will be called
- for mocked classes if no expectation is met. Defaults to .
-
-
-
-
- Specifies the behavior to use when returning default values for
- unexpected invocations on loose mocks.
-
-
-
-
- Gets the mocks that have been created by this factory and
- that will get verified together.
-
-
-
-
- A strongly-typed resource class, for looking up localized strings, etc.
-
-
-
-
- Returns the cached ResourceManager instance used by this class.
-
-
-
-
- Overrides the current thread's CurrentUICulture property for all
- resource lookups using this strongly typed resource class.
-
-
-
-
- Looks up a localized string similar to Mock type has already been initialized by accessing its Object property. Adding interfaces must be done before that..
-
-
-
-
- Looks up a localized string similar to Can only add interfaces to the mock..
-
-
-
-
- Looks up a localized string similar to Can't set return value for void method {0}..
-
-
-
-
- Looks up a localized string similar to Constructor arguments cannot be passed for interface mocks..
-
-
-
-
- Looks up a localized string similar to A matching constructor for the given arguments was not found on the mocked type..
-
-
-
-
- Looks up a localized string similar to Invalid expectation on a non-overridable member:
- {0}.
-
-
-
-
- Looks up a localized string similar to A lambda expression is expected as the argument to It.Is<T>..
-
-
-
-
- Looks up a localized string similar to Invocation {0} should not have been made..
-
-
-
-
- Looks up a localized string similar to Expression is not a method invocation: {0}.
-
-
-
-
- Looks up a localized string similar to Expression is not a property access: {0}.
-
-
-
-
- Looks up a localized string similar to Expression {0} involves a field access, which is not supported. Use properties instead..
-
-
-
-
- Looks up a localized string similar to Type to mock must be an interface or an abstract or non-sealed class. .
-
-
-
-
- Looks up a localized string similar to Cannot retrieve a mock with the given object type {0} as it's not the main type of the mock or any of its additional interfaces.
- Please cast the argument to one of the supported types: {1}.
- Remember that there's no generics covariance in the CLR, so your object must be one of these types in order for the call to succeed..
-
-
-
-
- Looks up a localized string similar to Member {0}.{1} does not exist..
-
-
-
-
- Looks up a localized string similar to Method {0}.{1} is public. Use strong-typed Expect overload instead:
- mock.Expect(x => x.{1}());
- .
-
-
-
-
- Looks up a localized string similar to {0} invocation failed with mock behavior {1}.
- {2}.
-
-
-
-
- Looks up a localized string similar to Expected only {0} calls to {1}..
-
-
-
-
- Looks up a localized string similar to Expected only one call to {0}..
-
-
-
-
- Looks up a localized string similar to All invocations on the mock must have a corresponding expectation..
-
-
-
-
- Looks up a localized string similar to The given invocation was not performed on the mock..
-
-
-
-
- Looks up a localized string similar to Object instance was not created by Moq..
-
-
-
-
- Looks up a localized string similar to Property {0}.{1} does not exist..
-
-
-
-
- Looks up a localized string similar to Property {0}.{1} is write-only..
-
-
-
-
- Looks up a localized string similar to Property {0}.{1} is read-only..
-
-
-
-
- Looks up a localized string similar to Cannot raise a mocked event unless it has been associated (attached) to a concrete event in a mocked object..
-
-
-
-
- Looks up a localized string similar to Invocation needs to return a value and therefore must have a corresponding expectation that provides it..
-
-
-
-
- Looks up a localized string similar to To set expectations for public property {0}.{1}, use the typed overloads, such as:
- mock.Expect(x => x.{1}).Returns(value);
- mock.ExpectGet(x => x.{1}).Returns(value); //equivalent to previous one
- mock.ExpectSet(x => x.{1}).Callback(callbackDelegate);
- .
-
-
-
-
- Looks up a localized string similar to Expression {0} is not supported..
-
-
-
-
- Looks up a localized string similar to Only property accesses are supported in intermediate invocations on an expectation. Unsupported expression {0}..
-
-
-
-
- Looks up a localized string similar to Expression contains intermediate property access {0}.{1} which is of type {2} and cannot be mocked. Unsupported expression {3}..
-
-
-
-
- Looks up a localized string similar to Member {0} is not supported for protected mocking..
-
-
-
-
- Looks up a localized string similar to To set expectations for protected property {0}.{1}, use:
- mock.Expect<{2}>(x => x.{1}).Returns(value);
- mock.ExpectGet(x => x.{1}).Returns(value); //equivalent to previous one
- mock.ExpectSet(x => x.{1}).Callback(callbackDelegate);.
-
-
-
-
- Looks up a localized string similar to The following expectations were not met:
- {0}.
-
-
-
-
- Allows expectations to be set for protected members by using their
- name as a string, rather than strong-typing them which is not possible
- due to their visibility.
-
-
-
-
- Sets an expectation on the void method with the given
- , optionally specifying
- arguments for the method call.
-
- Name of the void method to be invoke.
- Optional arguments for the invocation.
-
-
-
- Sets an expectation on a property or a non void method with the given
- , optionally specifying
- arguments for the method call.
-
- Name of the method or property to be invoke.
- Optional arguments for the invocation.
- Return type of the method or property.
-
-
-
- Sets an expectation on a property getter with the given
- .
-
- Name of the property.
- Type of the property.
-
-
-
- Sets an expectation on a property setter with the given
- .
-
- Name of the property.
- Type of the property.
-
-
-
- Allows the specification of a matching condition for an
- argument in a protected member expectation, rather than a specific
- argument value. "ItExpr" refers to the argument being matched.
-
-
- Use this variant of argument matching instead of
- for protected expectations.
- This class allows the expectation to match a method invocation
- with an arbitrary value, with a value in a specified range, or
- even one that matches a given predicate.
-
-
-
-
- Matches any value of the given type.
-
-
- Typically used when the actual argument value for a method
- call is not relevant.
-
-
-
- // Throws an exception for a call to Remove with any string value.
- mock.Protected()
- .Expect("Remove", ItExpr.IsAny<string>())
- .Throws(new InvalidOperationException());
-
-
- Type of the value.
-
-
-
- Matches any value that satisfies the given predicate.
-
- Type of the argument to check.
- The predicate used to match the method argument.
-
- Allows the specification of a predicate to perform matching
- of method call arguments.
-
-
- This example shows how to return the value 1 whenever the argument to the
- Do method is an even number.
-
- mock.Protected()
- .Expect("Do", ItExpr.Is<int>(i => i % 2 == 0))
- .Returns(1);
-
- This example shows how to throw an exception if the argument to the
- method is a negative number:
-
- mock.Protected()
- .Expect("GetUser", ItExpr.Is<int>(i => i < 0))
- .Throws(new ArgumentException());
-
-
-
-
-
- Matches any value that is in the range specified.
-
- Type of the argument to check.
- The lower bound of the range.
- The upper bound of the range.
- The kind of range. See .
-
- The following example shows how to expect a method call
- with an integer argument within the 0..100 range.
-
- mock.Protected()
- .Expect("HasInventory",
- ItExpr.IsAny<string>(),
- ItExpr.IsInRange(0, 100, Range.Inclusive))
- .Returns(false);
-
-
-
-
-
- Matches a string argument if it matches the given regular expression pattern.
-
- The pattern to use to match the string argument value.
-
- The following example shows how to expect a call to a method where the
- string argument matches the given regular expression:
-
- mock.Protected()
- .Expect("Check", ItExpr.IsRegex("[a-z]+"))
- .Returns(1);
-
-
-
-
-
- Matches a string argument if it matches the given regular expression pattern.
-
- The pattern to use to match the string argument value.
- The options used to interpret the pattern.
-
- The following example shows how to expect a call to a method where the
- string argument matches the given regular expression, in a case insensitive way:
-
- mock.Protected()
- .Expect("Check", ItExpr.IsRegex("[a-z]+", RegexOptions.IgnoreCase))
- .Returns(1);
-
-
-
-
-
- Enables the Protected() method on ,
- allowing expectations to be set for protected members by using their
- name as a string, rather than strong-typing them which is not possible
- due to their visibility.
-
-
-
-
- Enable protected expectations for the mock.
-
- Mocked object type. Typically omitted as it can be inferred from the mock instance.
- The mock to set the protected expectations on.
-
-
-
-
-
-
-
-
-
-
-
- Kind of range to use in a filter specified through
- .
-
-
-
-
- The range includes the to and
- from values.
-
-
-
-
- The range does not include the to and
- from values.
-
-
-
-
- Determines the way default values are generated
- calculated for loose mocks.
-
-
-
-
- Default behavior, which generates empty values for
- value types (i.e. default(int)), empty array and
- enumerables, and nulls for all other reference types.
-
-
-
-
- Whenever the default value generated by
- is null, replaces this value with a mock (if the type
- can be mocked).
-
-
- For sealed classes, a null value will be generated.
-
-
-
-
- Core implementation of the interface.
-
-
- Type to mock.
-
-
-
- Initializes an instance of the mock with default behavior and with
- the given constructor arguments for the class. (Only valid when is a class)
-
-
- The mock will try to find the best match constructor given the constructor arguments, and invoke that
- to initialize the instance. This applies only for classes, not interfaces.
-
-
- var mock = new Mock<MyProvider>(someArgument, 25);
-
- Optional constructor arguments if the mocked type is a class.
-
-
-
- Initializes an instance of the mock with default behavior.
-
-
- var mock = new Mock<IFormatProvider>();
-
-
-
-
- Initializes an instance of the mock with the specified behavior.
-
-
- var mock = new Mock<IFormatProvider>(MockBehavior.Relaxed);
-
- Behavior of the mock.
-
-
-
- Initializes an instance of the mock with a specific behavior with
- the given constructor arguments for the class.
-
-
- The mock will try to find the best match constructor given the constructor arguments, and invoke that
- to initialize the instance. This applies only to classes, not interfaces.
-
-
- var mock = new Mock<MyProvider>(someArgument, 25);
-
- Behavior of the mock.
- Optional constructor arguments if the mocked type is a class.
-
-
-
- Returns the mocked object value.
-
-
-
-
- Implements .
-
- Lambda expression that specifies the expected method invocation.
-
-
-
- Implements .
-
- Type of the return value. Typically omitted as it can be inferred from the expression.
- Lambda expression that specifies the expected method invocation.
-
-
-
- Implements .
-
- Type of the property. Typically omitted as it can be inferred from the expression.
- Lambda expression that specifies the expected property getter.
-
-
-
- Implements .
-
- Type of the property. Typically omitted as it can be inferred from the expression.
- Lambda expression that specifies the expected property setter.
-
-
-
- Implements .
-
- Type of the property. Typically omitted as it can be inferred from the expression.
- Lambda expression that specifies the expected property setter.
- The value expected to be set for the property.
-
-
-
- Implements .
-
- Expression to verify.
-
-
-
- Implements .
-
- Expression to verify.
- Type of return value from the expression.
-
-
-
- Implements .
-
- Expression to verify.
- Type of the property to verify. Typically omitted as it can
- be inferred from the expression's return type.
-
-
-
- Implements .
-
- Expression to verify.
- Type of the property to verify. Typically omitted as it can
- be inferred from the expression's return type.
-
-
-
- Implements .
-
- Expression to verify.
- The value that should have been set on the property.
- Type of the property to verify. Typically omitted as it can
- be inferred from the expression's return type.
-
-
-
- Implements .
-
-
-
-
- Implements .
-
-
-
-
- Implements .
-
- Type of interface to cast the mock to.
-
-
-
- Exposes the mocked object instance.
-
-
-
-
- A that returns an empty default value
- for non-mockeable types, and mocks for all other types (interfaces and
- non-sealed classes) that can be mocked.
-
-
-
-
- Provides a typed for a
- specific type of .
-
- The type of event arguments required by the event.
-
- The mocked event can either be a or custom
- event handler which follows .NET practice of providing object sender, EventArgs args
- kind of signature.
-
-
-
-
- Raises the associated event with the given
- event argument data.
-
- Data to pass to the event.
-
-
-
- Provides support for attaching a to
- a generic event.
-
- Event to convert.
-
-
-
- Provided solely to allow the interceptor to determine when the attached
- handler is coming from this mocked event so we can assign the
- corresponding EventInfo for it.
-
-
-
-
- Adds Stub extension method to a mock so that you can
- stub properties.
-
-
-
-
- Specifies that the given property should have stub behavior,
- meaning that setting its value will cause it to be saved and
- later returned when the property is requested.
-
- Mocked type, inferred from the object
- where this method is being applied (does not need to be specified).
- Type of the property, inferred from the property
- expression (does not need to be specified).
- The instance to stub.
- Property expression to stub.
-
- If you have an interface with an int property Value, you might
- stub it using the following straightforward call:
-
- var mock = new Mock<IHaveValue>();
- mock.Stub(v => v.Value);
-
- After the Stub call has been issued, setting and
- retrieving the object value will behave as expected:
-
- IHaveValue v = mock.Object;
-
- v.Value = 5;
- Assert.Equal(5, v.Value);
-
-
-
-
-
- Specifies that the given property should have stub behavior,
- meaning that setting its value will cause it to be saved and
- later returned when the property is requested. This overload
- allows setting the initial value for the property.
-
- Mocked type, inferred from the object
- where this method is being applied (does not need to be specified).
- Type of the property, inferred from the property
- expression (does not need to be specified).
- The instance to stub.
- Property expression to stub.
- Initial value for the property.
-
- If you have an interface with an int property Value, you might
- stub it using the following straightforward call:
-
- var mock = new Mock<IHaveValue>();
- mock.Stub(v => v.Value, 5);
-
- After the Stub call has been issued, setting and
- retrieving the object value will behave as expected:
-
- IHaveValue v = mock.Object;
- // Initial value was stored
- Assert.Equal(5, v.Value);
-
- // New value set which changes the initial value
- v.Value = 6;
- Assert.Equal(6, v.Value);
-
-
-
-
-
- Stubs all properties on the mock, setting the default value to
- the one generated as specified by the
- property.
-
- Mocked type, typically omitted as it can be inferred from the mock argument.
- The mock to stub.
-
- If the mock is set to ,
- the mocked default values will also be stubbed recursively.
-
-
-
-
diff --git a/lib/tests/ServiceStack.Common.Tests.dll b/lib/tests/ServiceStack.Common.Tests.dll
deleted file mode 100644
index 5d74477e..00000000
Binary files a/lib/tests/ServiceStack.Common.Tests.dll and /dev/null differ
diff --git a/lib/tests/nunit.framework.dll b/lib/tests/nunit.framework.dll
deleted file mode 100644
index 2729ddf2..00000000
Binary files a/lib/tests/nunit.framework.dll and /dev/null differ
diff --git a/lib/tests/nunit.framework.xml b/lib/tests/nunit.framework.xml
deleted file mode 100644
index 911ebf8b..00000000
--- a/lib/tests/nunit.framework.xml
+++ /dev/null
@@ -1,5622 +0,0 @@
-
-
-
- nunit.framework
-
-
-
-
- EmptyStringConstraint tests whether a string is empty.
-
-
-
-
- EmptyConstraint tests a whether a string or collection is empty,
- postponing the decision about which test is applied until the
- type of the actual argument is known.
-
-
-
-
- The Constraint class is the base of all built-in or
- user-defined constraints in NUnit. It provides the operator
- overloads used to combine constraints.
-
-
-
-
- Static UnsetObject used to detect derived constraints
- failing to set the actual value.
-
-
-
-
- If true, all string comparisons will ignore case
-
-
-
-
- If true, strings in error messages will be clipped
-
-
-
-
- If true, arrays will be treated as collections, allowing
- those of different dimensions to be compared
-
-
-
-
- If non-zero, equality comparisons within the specified
- tolerance will succeed.
-
-
-
-
- IComparer object used in comparisons for some constraints.
-
-
-
-
- The actual value being tested against a constraint
-
-
-
-
- Flag the constraint to use a tolerance when determining equality.
- Currently only used for doubles and floats.
-
- Tolerance to be used
- Self.
-
-
-
- Flag the constraint to use the supplied IComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Write the failure message to the MessageWriter provided
- as an argument. The default implementation simply passes
- the constraint and the actual value to the writer, which
- then displays the constraint description and the value.
-
- Constraints that need to provide additional details,
- such as where the error occured can override this.
-
- The MessageWriter on which to display the message
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. The default implementation simply writes
- the raw value of actual, leaving it to the writer to
- perform any formatting.
-
- The writer on which the actual value is displayed
-
-
-
- This operator creates a constraint that is satisfied only if both
- argument constraints are satisfied.
-
-
-
-
- This operator creates a constraint that is satisfied if either
- of the argument constraints is satisfied.
-
-
-
-
- This operator creates a constraint that is satisfied if the
- argument constraint is not satisfied.
-
-
-
-
- Flag the constraint to ignore case and return self.
-
-
-
-
- Flag the constraint to suppress string clipping
- and return self.
-
-
-
-
- Flag the constraint to compare arrays as collections
- and return self.
-
-
-
-
- Class used to detect any derived constraints
- that fail to set the actual value in their
- Matches override.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- SubstringConstraint can test whether a string contains
- the expected substring.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- StartsWithConstraint can test whether a string starts
- with an expected substring.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected string
-
-
-
- Test whether the constraint is matched by the actual value.
- This is a template method, which calls the IsMatch method
- of the derived class.
-
-
-
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- EndsWithConstraint can test whether a string ends
- with an expected substring.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected string
-
-
-
- Test whether the constraint is matched by the actual value.
- This is a template method, which calls the IsMatch method
- of the derived class.
-
-
-
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- RegexConstraint can test whether a string matches
- the pattern provided.
-
-
-
-
- Initializes a new instance of the class.
-
- The pattern.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- ConstraintBuilder is used to resolve the Not and All properties,
- which serve as prefix operators for constraints. With the addition
- of an operand stack, And and Or could be supported, but we have
- left them out in favor of a simpler, more type-safe implementation.
- Use the & and | operator overloads to combine constraints.
-
-
-
-
- Implicitly convert ConstraintBuilder to an actual Constraint
- at the point where the syntax demands it.
-
-
-
-
-
-
- Resolves the chain of constraints using an
- EqualConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- SameAsConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- LessThanConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- GreaterThanConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- LessThanOrEqualConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- LessThanOrEqualConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- GreaterThanOrEqualConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- GreaterThanOrEqualConstraint as base.
-
-
-
-
- Resolves the chain of constraints using an
- ExactTypeConstraint as base.
-
-
-
-
- Resolves the chain of constraints using an
- InstanceOfTypeConstraint as base.
-
-
-
-
- Resolves the chain of constraints using an
- AssignableFromConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- ContainsConstraint as base. This constraint
- will, in turn, make use of the appropriate
- second-level constraint, depending on the
- type of the actual argument.
-
-
-
-
- Resolves the chain of constraints using a
- CollectionContainsConstraint as base.
-
- The expected object
-
-
-
- Resolves the chain of constraints using a
- StartsWithConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- StringEndingConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- StringMatchingConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- CollectionEquivalentConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- CollectionContainingConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- CollectionSubsetConstraint as base.
-
-
-
-
- Resolves the chain of constraints using a
- PropertyConstraint as base
-
-
-
-
- Resolves the chain of constraints using a
- PropertyCOnstraint on Length as base
-
-
-
-
-
-
- Resolves the chain of constraints using a
- PropertyCOnstraint on Length as base
-
-
-
-
-
-
- Modifies the ConstraintBuilder by pushing a Prop operator on the
- ops stack and the name of the property on the opnds stack.
-
-
-
-
-
-
- Resolve a constraint that has been recognized by applying
- any pending operators and returning the resulting Constraint.
-
- A constraint that incorporates all pending operators
-
-
-
- Resolves the chain of constraints using
- EqualConstraint(null) as base.
-
-
-
-
- Resolves the chain of constraints using
- EqualConstraint(true) as base.
-
-
-
-
- Resolves the chain of constraints using
- EqualConstraint(false) as base.
-
-
-
-
- Resolves the chain of constraints using
- Is.NaN as base.
-
-
-
-
- Resolves the chain of constraints using
- Is.Empty as base.
-
-
-
-
- Resolves the chain of constraints using
- Is.Unique as base.
-
-
-
-
- Modifies the ConstraintBuilder by pushing a Not operator on the stack.
-
-
-
-
- Modifies the ConstraintBuilder by pushing a Not operator on the stack.
-
-
-
-
- Modifies the ConstraintBuilder by pushing an All operator on the stack.
-
-
-
-
- Modifies the ConstraintBuilder by pushing a Some operator on the stack.
-
-
-
-
- Modifies the constraint builder by pushing All and Not operators on the stack
-
-
-
-
- CollectionConstraint is the abstract base class for
- constraints that operate on collections.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Protected method to be implemented by derived classes
-
-
-
-
-
-
- CollectionTally counts (tallies) the number of
- occurences of each object in one or more enuerations.
-
-
-
-
- Construct a CollectionTally object from a collection
-
-
-
-
-
- Remove the counts for a collection from the tally,
- so long as their are sufficient items to remove.
- The tallies are not permitted to become negative.
-
- The collection to remove
- True if there were enough items to remove, otherwise false
-
-
-
- Test whether all the counts are equal to a given value
-
- The value to be looked for
- True if all counts are equal to the value, otherwise false
-
-
-
- Get the count of the number of times an object is present in the tally
-
-
-
-
- EmptyCollectionConstraint tests whether a colletion is empty.
-
-
-
-
- Check that the collection is empty
-
-
-
-
-
-
- Write the constraint description to a MessageWriter
-
-
-
-
-
- UniqueItemsConstraint tests whether all the items in a
- collection are unique.
-
-
-
-
- Check that all items are unique.
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- CollectionContainsConstraint is used to test whether a collection
- contains an expected object as a member.
-
-
-
-
- Construct a CollectionContainsConstraint
-
-
-
-
-
- Test whether the expected item is contained in the collection
-
-
-
-
-
-
- Write a descripton of the constraint to a MessageWriter
-
-
-
-
-
- CollectionEquivalentCOnstraint is used to determine whether two
- collections are equivalent.
-
-
-
-
- Construct a CollectionEquivalentConstraint
-
-
-
-
-
- Test whether two collections are equivalent
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- CollectionSubsetConstraint is used to determine whether
- one collection is a subset of another
-
-
-
-
- Construct a CollectionSubsetConstraint
-
- The collection that the actual value is expected to be a subset of
-
-
-
- Test whether the actual collection is a subset of
- the expected collection provided.
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- EqualConstraint is able to compare an actual value with the
- expected value provided in its constructor.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write a failure message. Overridden to provide custom
- failure messages for EqualConstraint.
-
- The MessageWriter to write to
-
-
-
- Write description of this constraint
-
- The MessageWriter to write to
-
-
-
- Helper method to compare two arrays
-
-
-
-
- Method to compare two DirectoryInfo objects
-
- first directory to compare
- second directory to compare
- true if equivalent, false if not
-
-
-
- Display the failure information for two collections that did not match.
-
- The MessageWriter on which to display
- The expected collection.
- The actual collection
- The depth of this failure in a set of nested collections
-
-
-
- Displays a single line showing the types and sizes of the expected
- and actual collections or arrays. If both are identical, the value is
- only shown once.
-
- The MessageWriter on which to display
- The expected collection or array
- The actual collection or array
- The indentation level for the message line
-
-
-
- Displays a single line showing the point in the expected and actual
- arrays at which the comparison failed. If the arrays have different
- structures or dimensions, both values are shown.
-
- The MessageWriter on which to display
- The expected array
- The actual array
- Index of the failure point in the underlying collections
- The indentation level for the message line
-
-
-
- Abstract base class used for prefixes
-
-
-
-
- The base constraint
-
-
-
-
- Construct given a base constraint
-
-
-
-
-
- Set all modifiers applied to the prefix into
- the base constraint before matching
-
-
-
-
- NotConstraint negates the effect of some other constraint
-
-
-
-
- Initializes a new instance of the class.
-
- The base constraint to be negated.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for if the base constraint fails, false if it succeeds
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Write the actual value for a failing constraint test to a MessageWriter.
-
- The writer on which the actual value is displayed
-
-
-
- AllItemsConstraint applies another constraint to each
- item in a collection, succeeding if they all succeed.
-
-
-
-
- Construct an AllItemsConstraint on top of an existing constraint
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- failing if any item fails.
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- SomeItemsConstraint applies another constraint to each
- item in a collection, succeeding if any of them succeeds.
-
-
-
-
- Construct a SomeItemsConstraint on top of an existing constraint
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- failing if any item fails.
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- SomeItemsConstraint applies another constraint to each
- item in a collection, succeeding if any of them succeeds.
-
-
-
-
- Construct a SomeItemsConstraint on top of an existing constraint
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- failing if any item fails.
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- SameAsConstraint tests whether an object is identical to
- the object passed to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected object.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- TypeConstraint is the abstract base for constraints
- that take a Type as their expected value.
-
-
-
-
- The expected Type used by the constraint
-
-
-
-
- Construct a TypeConstraint for a given Type
-
-
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. TypeCOnstraints override this method to write
- the name of the type.
-
- The writer on which the actual value is displayed
-
-
-
- ExactTypeConstraint is used to test that an object
- is of the exact type provided in the constructor
-
-
-
-
- Construct an ExactTypeConstraint for a given Type
-
-
-
-
-
- Test that an object is of the exact type specified
-
-
-
-
-
-
- Write the description of this constraint to a MessageWriter
-
-
-
-
-
- InstanceOfTypeConstraint is used to test that an object
- is of the same type provided or derived from it.
-
-
-
-
- Construct an InstanceOfTypeConstraint for the type provided
-
-
-
-
-
- Test whether an object is of the specified type or a derived type
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- AssignableFromConstraint is used to test that an object
- can be assigned from a given Type.
-
-
-
-
- Construct an AssignableFromConstraint for the type provided
-
-
-
-
-
- Test whether an object can be assigned from the specified type
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- Abstract base class for constraints that compare values to
- determine if one is greater than, equal to or less than
- the other.
-
-
-
-
- The value against which a comparison is to be made
-
-
-
-
- If true, less than returns success
-
-
-
-
- if true, equal returns success
-
-
-
-
- if true, greater than returns success
-
-
-
-
- The predicate used as a part of the description
-
-
-
-
- Initializes a new instance of the class.
-
- The value against which to make a comparison.
- if set to true less succeeds.
- if set to true equal succeeds.
- if set to true greater succeeds.
- String used in describing the constraint.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Tests whether a value is greater than the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Tests whether a value is greater than or equal to the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Tests whether a value is less than the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Tests whether a value is less than or equal to the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- The Numerics class contains common operations on numeric values.
-
-
-
-
- Checks the type of the object, returning true if
- the object is a numeric type.
-
- The object to check
- true if the object is a numeric type
-
-
-
- Checks the type of the object, returning true if
- the object is a floating point numeric type.
-
- The object to check
- true if the object is a floating point numeric type
-
-
-
- Checks the type of the object, returning true if
- the object is a fixed point numeric type.
-
- The object to check
- true if the object is a fixed point numeric type
-
-
-
- Test two numeric values for equality, performing the usual numeric
- conversions and using a provided or default tolerance. If the value
- referred to by tolerance is null, this method may set it to a default.
-
- The expected value
- The actual value
- A reference to the numeric tolerance in effect
- True if the values are equal
-
-
-
- Compare two numeric values, performing the usual numeric conversions.
-
- The expected value
- The actual value
-
-
-
-
- ContainsConstraint tests a whether a string contains a substring
- or a collection contains an object. It postpones the decision of
- which test to use until the type of the actual argument is known.
- This allows testing whether a string is contained in a collection
- or as a substring of another string using the same syntax.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Summary description for PropertyConstraint.
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The constraint to apply to the property.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. The default implementation simply writes
- the raw value of actual, leaving it to the writer to
- perform any formatting.
-
- The writer on which the actual value is displayed
-
-
-
- BinaryOperation is the abstract base of all constraints
- that combine two other constraints in some fashion.
-
-
-
-
- The first constraint being combined
-
-
-
-
- The second constraint being combined
-
-
-
-
- Construct a BinaryOperation from two other constraints
-
- The first constraint
- The second constraint
-
-
-
- AndConstraint succeeds only if both members succeed.
-
-
-
-
- Create an AndConstraint from two other constraints
-
- The first constraint
- The second constraint
-
-
-
- Apply both member constraints to an actual value, succeeding
- succeeding only if both of them succeed.
-
- The actual value
- True if the constraints both succeeded
-
-
-
- Write a description for this contraint to a MessageWriter
-
- The MessageWriter to receive the description
-
-
-
- OrConstraint succeeds if either member succeeds
-
-
-
-
- Create an OrConstraint from two other constraints
-
- The first constraint
- The second constraint
-
-
-
- Apply the member constraints to an actual value, succeeding
- succeeding as soon as one of them succeeds.
-
- The actual value
- True if either constraint succeeded
-
-
-
- Write a description for this contraint to a MessageWriter
-
- The MessageWriter to receive the description
-
-
-
- The Is class is a helper class with properties and methods
- that supply a number of constraints used in Asserts.
-
-
-
-
- Is.Null returns a static constraint that tests for null
-
-
-
-
- Is.True returns a static constraint that tests whether a value is true
-
-
-
-
- Is.False returns a static constraint that tests whether a value is false
-
-
-
-
- Is.NaN returns a static constraint that tests whether a value is an NaN
-
-
-
-
- Is.Empty returns a static constraint that tests whether a string or collection is empty
-
-
-
-
- Is.Unique returns a static constraint that tests whether a collection contains all unque items.
-
-
-
-
- Is.EqualTo returns a constraint that tests whether the
- actual value equals the supplied argument
-
-
-
-
-
-
- Is.SameAs returns a constraint that tests whether the
- actual value is the same object as the supplied argument.
-
-
-
-
-
-
- Is.GreaterThan returns a constraint that tests whether the
- actual value is greater than the suppled argument
-
-
-
-
- Is.GreaterThanOrEqualTo returns a constraint that tests whether the
- actual value is greater than or equal to the suppled argument
-
-
-
-
- Is.AtLeast is a synonym for Is.GreaterThanOrEqualTo
-
-
-
-
- Is.LessThan returns a constraint that tests whether the
- actual value is less than the suppled argument
-
-
-
-
- Is.LessThanOrEqualTo returns a constraint that tests whether the
- actual value is less than or equal to the suppled argument
-
-
-
-
- Is.AtMost is a synonym for Is.LessThanOrEqualTo
-
-
-
-
- Is.TypeOf returns a constraint that tests whether the actual
- value is of the exact type supplied as an argument.
-
-
-
-
- Is.InstanceOfType returns a constraint that tests whether
- the actual value is of the type supplied as an argument
- or a derived type.
-
-
-
-
- Is.AssignableFrom returns a constraint that tests whether
- the actual value is assignable from the type supplied as
- an argument.
-
-
-
-
-
-
- Is.EquivalentTo returns a constraint that tests whether
- the actual value is a collection containing the same
- elements as the collection supplied as an arument
-
-
-
-
- Is.SubsetOf returns a constraint that tests whether
- the actual value is a subset of the collection
- supplied as an arument
-
-
-
-
- Is.Not returns a ConstraintBuilder that negates
- the constraint that follows it.
-
-
-
-
- Is.All returns a ConstraintBuilder, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed. This property is
- a synonym for Has.AllItems.
-
-
-
-
- The Iz class is a synonym for Is intended for use in VB,
- which regards Is as a keyword.
-
-
-
-
- The Text class is a helper class with properties and methods
- that supply a number of constraints used with strings.
-
-
-
-
- Contains returns a constraint that succeeds if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- DoesNotContain returns a constraint that fails if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- StartsWith returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- DoesNotStartWith returns a constraint that fails if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- EndsWith returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- DoesNotEndWith returns a constraint that fails if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Matches returns a constraint that succeeds if the actual
- value matches the pattern supplied as an argument.
-
-
-
-
-
-
- DoesNotMatch returns a constraint that failss if the actual
- value matches the pattern supplied as an argument.
-
-
-
-
-
-
- Text.All returns a ConstraintBuilder, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed.
-
-
-
-
- The List class is a helper class with properties and methods
- that supply a number of constraints used with lists and collections.
-
-
-
-
- List.Map returns a ListMapper, which can be used to map
- the original collection to another collection.
-
-
-
-
-
-
- ListMapper is used to transform a collection used as an actual argument
- producing another collection to be used in the assertion.
-
-
-
-
- Construct a ListMapper based on a collection
-
- The collection to be transformed
-
-
-
- Produces a collection containing all the values of a property
-
- The collection of property values
-
-
-
-
- Summary description for HasNoPrefixB.
-
-
-
-
- Returns a new ConstraintBuilder, which will apply the
- following constraint to a named property of the object
- being tested.
-
- The name of the property
-
-
-
- Returns a new PropertyConstraint checking for the
- existence of a particular property value.
-
- The name of the property to look for
- The expected value of the property
-
-
-
- Returns a new PropertyConstraint for the Length property
-
-
-
-
-
-
- Returns a new PropertyConstraint or the Count property
-
-
-
-
-
-
- Returns a new CollectionContainsConstraint checking for the
- presence of a particular object in the collection.
-
- The expected object
-
-
-
- Has.No returns a ConstraintBuilder that negates
- the constraint that follows it.
-
-
-
-
- Has.AllItems returns a ConstraintBuilder, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed.
-
-
-
-
- Has.Some returns a ConstraintBuilder, which will apply
- the following constraint to all members of a collection,
- succeeding if any of them succeed. It is a synonym
- for Has.Item.
-
-
-
-
- Has.None returns a ConstraintBuilder, which will apply
- the following constraint to all members of a collection,
- succeeding only if none of them succeed.
-
-
-
-
- Nested class that allows us to restrict the number
- of key words that may appear after Has.No.
-
-
-
-
- Return a ConstraintBuilder conditioned to apply
- the following constraint to a property.
-
- The property name
- A ConstraintBuilder
-
-
-
- Return a Constraint that succeeds if the expected object is
- not contained in a collection.
-
- The expected object
- A Constraint
-
-
-
- The Assert class contains a collection of static methods that
- implement the most common assertions used in NUnit.
-
-
-
-
- We don't actually want any instances of this object, but some people
- like to inherit from it to add other static methods. Hence, the
- protected constructor disallows any instances of this object.
-
-
-
-
- The Equals method throws an AssertionException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an AssertionException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is false
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is true
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is true
-
-
-
- Asserts that a condition is false. If the condition is true the method throws
- an .
-
- The evaluated condition
-
-
-
- Verifies that the object that is passed in is not equal to null
- If the object is null then an
- is thrown.
-
- The object that is to be tested
- The message to be displayed when the object is null
- Arguments to be used in formatting the message
-
-
-
- Verifies that the object that is passed in is not equal to null
- If the object is null then an
- is thrown.
-
- The object that is to be tested
- The message to be displayed when the object is null
-
-
-
- Verifies that the object that is passed in is not equal to null
- If the object is null then an
- is thrown.
-
- The object that is to be tested
-
-
-
- Verifies that the object that is passed in is equal to null
- If the object is not null then an
- is thrown.
-
- The object that is to be tested
- The message to be displayed when the object is not null
- Arguments to be used in formatting the message
-
-
-
- Verifies that the object that is passed in is equal to null
- If the object is not null then an
- is thrown.
-
- The object that is to be tested
- The message to be displayed when the object is not null
-
-
-
- Verifies that the object that is passed in is equal to null
- If the object is not null null then an
- is thrown.
-
- The object that is to be tested
-
-
-
- Verifies that the double is passed is an NaN value.
- If the object is not NaN then an
- is thrown.
-
- The value that is to be tested
- The message to be displayed when the object is not null
- Arguments to be used in formatting the message
-
-
-
- Verifies that the double is passed is an NaN value.
- If the object is not NaN then an
- is thrown.
-
- The object that is to be tested
- The message to be displayed when the object is not null
-
-
-
- Verifies that the double is passed is an NaN value.
- If the object is not NaN then an
- is thrown.
-
- The object that is to be tested
-
-
-
- Assert that a string is empty - that is equal to string.Empty
-
- The string to be tested
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that a string is empty - that is equal to string.Emtpy
-
- The string to be tested
- The message to be displayed on failure
-
-
-
- Assert that a string is empty - that is equal to string.Emtpy
-
- The string to be tested
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing ICollection
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing ICollection
- The message to be displayed on failure
-
-
-
- Assert that an array,list or other collection is empty
-
- An array, list or other collection implementing ICollection
-
-
-
- Assert that a string is not empty - that is not equal to string.Empty
-
- The string to be tested
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that a string is empty - that is equal to string.Emtpy
-
- The string to be tested
- The message to be displayed on failure
-
-
-
- Assert that a string is empty - that is equal to string.Emtpy
-
- The string to be tested
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing ICollection
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing ICollection
- The message to be displayed on failure
-
-
-
- Assert that an array,list or other collection is empty
-
- An array, list or other collection implementing ICollection
-
-
-
- Asserts that an object may be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
-
-
-
- Asserts that an object may be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
- The messge to display in case of failure
-
-
-
- Asserts that an object may be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object may not be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
-
-
-
- Asserts that an object may not be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
- The messge to display in case of failure
-
-
-
- Asserts that an object may not be assigned a value of a given Type.
-
- The expected Type.
- The object under examination
- The message to display in case of failure
- Array of objects to be used in formatting the message
-
-
-
- Asserts that an object is an instance of a given type.
-
- The expected Type
- The object being examined
-
-
-
- Asserts that an object is an instance of a given type.
-
- The expected Type
- The object being examined
- A message to display in case of failure
-
-
-
- Asserts that an object is an instance of a given type.
-
- The expected Type
- The object being examined
- A message to display in case of failure
- An array of objects to be used in formatting the message
-
-
-
- Asserts that an object is not an instance of a given type.
-
- The expected Type
- The object being examined
-
-
-
- Asserts that an object is not an instance of a given type.
-
- The expected Type
- The object being examined
- A message to display in case of failure
-
-
-
- Asserts that an object is not an instance of a given type.
-
- The expected Type
- The object being examined
- A message to display in case of failure
- An array of objects to be used in formatting the message
-
-
-
- Verifies that two ints are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that two ints are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
-
-
-
- Verifies that two ints are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
-
-
-
- Verifies that two longs are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that two longs are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
-
-
-
- Verifies that two longs are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
-
-
-
- Verifies that two uints are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that two uints are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
-
-
-
- Verifies that two uints are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
-
-
-
- Verifies that two ulongs are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that two ulongs are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
-
-
-
- Verifies that two ulongs are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
-
-
-
- Verifies that two decimals are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that two decimal are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
- The message that will be displayed on failure
-
-
-
- Verifies that two decimals are equal. If they are not, then an
- is thrown.
-
- The expected value
- The actual value
-
-
-
- Verifies that two doubles are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equals then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that two doubles are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equals then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
- The message that will be displayed on failure
-
-
-
- Verifies that two doubles are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equals then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
-
-
-
- Verifies that two floats are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equals then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
- The message displayed upon failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that two floats are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equals then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
- The message displayed upon failure
-
-
-
- Verifies that two floats are equal considering a delta. If the
- expected value is infinity then the delta value is ignored. If
- they are not equals then an is
- thrown.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
-
-
-
- Verifies that two objects are equal. Two objects are considered
- equal if both are null, or if both have the same value. All
- non-numeric types are compared by using the Equals method.
- Arrays are compared by comparing each element using the same rules.
- If they are not equal an is thrown.
-
- The value that is expected
- The actual value
- The message to display if objects are not equal
- Arguments to be used in formatting the message
-
-
-
- Verifies that two objects are equal. Two objects are considered
- equal if both are null, or if both have the same value. All
- non-numeric types are compared by using the Equals method.
- If they are not equal an is thrown.
-
- The value that is expected
- The actual value
- The message to display if objects are not equal
-
-
-
- Verifies that two objects are equal. Two objects are considered
- equal if both are null, or if both have the same value. All
- non-numeric types are compared by using the Equals method.
- If they are not equal an is thrown.
-
- The value that is expected
- The actual value
-
-
-
- Asserts that two objects are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two objects are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the objects are the same
-
-
-
- Asserts that two objects are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two ints are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two ints are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the objects are the same
-
-
-
- Asserts that two ints are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two longss are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two longs are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the objects are the same
-
-
-
- Asserts that two longs are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two uints are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two uints are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the objects are the same
-
-
-
- Asserts that two uints are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two ulongs are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two ulongs are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the objects are the same
-
-
-
- Asserts that two ulong are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two decimals are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two decimals are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the objects are the same
-
-
-
- Asserts that two decimals are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two floats are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two floats are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the objects are the same
-
-
-
- Asserts that two floats are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two doubles are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two doubles are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the objects are the same
-
-
-
- Asserts that two doubles are not equal. If they are equal
- an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two objects refer to the same object. If they
- are not the same an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are not the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two objects refer to the same object. If they
- are not the same an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the object is null
-
-
-
- Asserts that two objects refer to the same object. If they
- are not the same an is thrown.
-
- The expected object
- The actual object
-
-
-
- Asserts that two objects do not refer to the same object. If they
- are the same an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the two objects are the same object.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two objects do not refer to the same object. If they
- are the same an is thrown.
-
- The expected object
- The actual object
- The message to be displayed when the objects are the same
-
-
-
- Asserts that two objects do not refer to the same object. If they
- are the same an is thrown.
-
- The expected object
- The actual object
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Asserts that an object is contained in a list.
-
- The expected object
- The list to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that an object is contained in a list.
-
- The expected object
- The list to be examined
- The message to display in case of failure
-
-
-
- Asserts that an object is contained in a list.
-
- The expected object
- The list to be examined
-
-
-
- Throws an with the message and arguments
- that are passed in. This is used by the other Assert functions.
-
- The message to initialize the with.
- Arguments to be used in formatting the message
-
-
-
- Throws an with the message that is
- passed in. This is used by the other Assert functions.
-
- The message to initialize the with.
-
-
-
- Throws an .
- This is used by the other Assert functions.
-
-
-
-
- Throws an with the message and arguments
- that are passed in. This causes the test to be reported as ignored.
-
- The message to initialize the with.
- Arguments to be used in formatting the message
-
-
-
- Throws an with the message that is
- passed in. This causes the test to be reported as ignored.
-
- The message to initialize the with.
-
-
-
- Throws an .
- This causes the test to be reported as ignored.
-
-
-
-
- NOTE: The use of asserters for extending NUnit has
- now been replaced by the use of constraints. This
- method is marked obsolete.
-
- Test the condition asserted by an asserter and throw
- an assertion exception using provided message on failure.
-
- An object that implements IAsserter
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint to be applied
- The actual value to test
-
-
-
- Apply a constraint to an actual value, succeedingt if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint to be applied
- The actual value to test
- The message that will be displayed on failure
-
-
-
- Apply a constraint to an actual value, succeedingt if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint to be applied
- The actual value to test
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is false
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater or equal to than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater or equal to than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater or equal to than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than or equal to the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is greater than the second
- value. If they are not, then an
- is thrown.
-
- The first value, expected to be greater
- The second value, expected to be less
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
- The message that will be displayed on failure
-
-
-
- Verifies that the first value is less than or equal to the second
- value. If it is not, then an
- is thrown.
-
- The first value, expected to be less
- The second value, expected to be greater
-
-
-
- Gets the number of assertions executed so far and
- resets the counter to zero.
-
-
-
-
- Enumeration indicating how the expected message parameter is to be used
-
-
-
- Expect an exact match
-
-
- Expect a message containing the parameter string
-
-
- Match the regular expression provided as a parameter
-
-
-
- ExpectedExceptionAttribute
-
-
-
-
-
- Constructor for a non-specific exception
-
-
-
-
- Constructor for a given type of exception
-
- The type of the expected exception
-
-
-
- Constructor for a given exception name
-
- The full name of the expected exception
-
-
-
- Constructor for a given type of exception and expected message text
-
- The type of the expected exception
- The expected message text
-
-
-
- Constructor for a given exception name and expected message text
-
- The full name of the expected exception
- The expected messge text
-
-
-
- Gets or sets the expected exception type
-
-
-
-
- Gets or sets the full Type name of the expected exception
-
-
-
-
- Gets or sets the expected message text
-
-
-
-
- Gets or sets the user message displayed in case of failure
-
-
-
-
- Gets or sets the type of match to be performed on the expected message
-
-
-
-
- Gets the name of a method to be used as an exception handler
-
-
-
-
- A set of Assert methods operationg on one or more collections
-
-
-
-
- The Equals method throws an AssertionException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an AssertionException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Asserts that all items contained in collection are of the type specified by expectedType.
-
- IEnumerable containing objects to be considered
- System.Type that all objects in collection must be instances of
-
-
-
- Asserts that all items contained in collection are of the type specified by expectedType.
-
- IEnumerable containing objects to be considered
- System.Type that all objects in collection must be instances of
- The message that will be displayed on failure
-
-
-
- Asserts that all items contained in collection are of the type specified by expectedType.
-
- IEnumerable containing objects to be considered
- System.Type that all objects in collection must be instances of
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that all items contained in collection are not equal to null.
-
- IEnumerable containing objects to be considered
-
-
-
- Asserts that all items contained in collection are not equal to null.
-
- IEnumerable containing objects to be considered
- The message that will be displayed on failure
-
-
-
- Asserts that all items contained in collection are not equal to null.
-
- IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Ensures that every object contained in collection exists within the collection
- once and only once.
-
- IEnumerable of objects to be considered
-
-
-
- Ensures that every object contained in collection exists within the collection
- once and only once.
-
- IEnumerable of objects to be considered
- The message that will be displayed on failure
-
-
-
- Ensures that every object contained in collection exists within the collection
- once and only once.
-
- IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
- The message that will be displayed on failure
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are exactly equal. The collections must have the same count,
- and contain the exact same objects in the same order.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
-
-
-
- Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
-
-
-
- Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are not exactly equal.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
-
-
-
- Asserts that expected and actual are not exactly equal.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
-
-
-
- Asserts that expected and actual are not exactly equal.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
-
-
-
- Asserts that expected and actual are not exactly equal.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
- The message that will be displayed on failure
-
-
-
- Asserts that expected and actual are not exactly equal.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are not exactly equal.
- If comparer is not null then it will be used to compare the objects.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The IComparer to use in comparing objects from each IEnumerable
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that expected and actual are not equivalent.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
-
-
-
- Asserts that expected and actual are not equivalent.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
-
-
-
- Asserts that expected and actual are not equivalent.
-
- The first IEnumerable of objects to be considered
- The second IEnumerable of objects to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that collection contains actual as an item.
-
- IEnumerable of objects to be considered
- Object to be found within collection
-
-
-
- Asserts that collection contains actual as an item.
-
- IEnumerable of objects to be considered
- Object to be found within collection
- The message that will be displayed on failure
-
-
-
- Asserts that collection contains actual as an item.
-
- IEnumerable of objects to be considered
- Object to be found within collection
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that collection does not contain actual as an item.
-
- IEnumerable of objects to be considered
- Object that cannot exist within collection
-
-
-
- Asserts that collection does not contain actual as an item.
-
- IEnumerable of objects to be considered
- Object that cannot exist within collection
- The message that will be displayed on failure
-
-
-
- Asserts that collection does not contain actual as an item.
-
- IEnumerable of objects to be considered
- Object that cannot exist within collection
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that superset is not a subject of subset.
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
-
-
-
- Asserts that superset is not a subject of subset.
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
- The message that will be displayed on failure
-
-
-
- Asserts that superset is not a subject of subset.
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that superset is a subset of subset.
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
-
-
-
- Asserts that superset is a subset of subset.
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
- The message that will be displayed on failure
-
-
-
- Asserts that superset is a subset of subset.
-
- The IEnumerable superset to be considered
- The IEnumerable subset to be considered
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
- The message to be displayed on failure
-
-
-
- Assert that an array,list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
- The message to be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Assert that an array, list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
- The message to be displayed on failure
-
-
-
- Assert that an array,list or other collection is empty
-
- An array, list or other collection implementing IEnumerable
-
-
-
- NOTE: The use of asserters for extending NUnit has
- now been replaced by the use of constraints. This
- class is marked obsolete.
-
- AbstractAsserter is the base class for all asserters.
- Asserters encapsulate a condition test and generation
- of an AssertionException with a tailored message. They
- are used by the Assert class as helper objects.
-
- User-defined asserters may be passed to the
- Assert.DoAssert method in order to implement
- extended asserts.
-
-
-
-
- NOTE: The use of asserters for extending NUnit has
- now been replaced by the use of constraints. This
- interface is marked obsolete.
-
- The interface implemented by an asserter. Asserters
- encapsulate a condition test and generation of an
- AssertionException with a tailored message. They
- are used by the Assert class as helper objects.
-
- User-defined asserters may be passed to the
- Assert.DoAssert method in order to implement
- extended asserts.
-
-
-
-
- Test the condition for the assertion.
-
- True if the test succeeds
-
-
-
- Return the message giving the failure reason.
- The return value is unspecified if no failure
- has occured.
-
-
-
-
- The user-defined message for this asserter.
-
-
-
-
- Arguments to use in formatting the user-defined message.
-
-
-
-
- Our failure message object, initialized as needed
-
-
-
-
- Constructs an AbstractAsserter
-
- The message issued upon failure
- Arguments to be used in formatting the message
-
-
-
- Test method to be implemented by derived types.
- Default always succeeds.
-
- True if the test succeeds
-
-
-
- AssertionFailureMessage object used internally
-
-
-
-
- Message related to a failure. If no failure has
- occured, the result is unspecified.
-
-
-
-
- The Assertion class is obsolete and has been
- replaced by the Assert class.
-
-
-
-
- Asserts that a condition is true. If it isn't it throws
- an .
-
- The message to display is the condition
- is false
- The evaluated condition
-
-
-
- Asserts that a condition is true. If it isn't it throws
- an .
-
- The evaluated condition
-
-
-
- /// Asserts that two doubles are equal concerning a delta. If the
- expected value is infinity then the delta value is ignored.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
-
-
-
- /// Asserts that two singles are equal concerning a delta. If the
- expected value is infinity then the delta value is ignored.
-
- The expected value
- The actual value
- The maximum acceptable difference between the
- the expected and the actual
-
-
- Asserts that two objects are equal. If they are not
- an is thrown.
-
-
- Asserts that two ints are equal. If they are not
- an is thrown.
-
-
- Asserts that two ints are equal. If they are not
- an is thrown.
-
-
- Asserts that two doubles are equal concerning a delta.
- If the expected value is infinity then the delta value is ignored.
-
-
-
- Asserts that two floats are equal concerning a delta.
- If the expected value is infinity then the delta value is ignored.
-
-
-
-
- Asserts that two objects are equal. Two objects are considered
- equal if both are null, or if both have the same value. Numeric
- types are compared via string comparision on their contents to
- avoid problems comparing values between different types. All
- non-numeric types are compared by using the Equals method.
- If they are not equal an is thrown.
-
-
-
- Asserts that an object isn't null.
-
-
- Asserts that an object isn't null.
-
-
- Asserts that an object is null.
-
-
- Asserts that an object is null.
-
-
- Asserts that two objects refer to the same object. If they
- are not the same an is thrown.
-
-
-
- Asserts that two objects refer to the same object.
- If they are not an is thrown.
-
-
-
- Fails a test with no message.
-
-
- Fails a test with the given message.
-
-
-
- Thrown when an assertion failed.
-
-
-
-
- The error message that explains
- the reason for the exception
-
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- AssertionFailureMessage encapsulates a failure message
- issued as a result of an Assert failure.
-
-
-
-
- Number of characters before a highlighted position before
- clipping will occur. Clipped text is replaced with an
- elipsis "..."
-
-
-
-
- Number of characters after a highlighted position before
- clipping will occur. Clipped text is replaced with an
- elipsis "..."
-
-
-
-
- Prefix used to start an expected value line.
- Must be same length as actualPrefix.
-
-
-
-
- Prefix used to start an actual value line.
- Must be same length as expectedPrefix.
-
-
-
-
- Construct an AssertionFailureMessage with a message
- and optional arguments.
-
-
-
-
-
-
- Construct an empty AssertionFailureMessage
-
-
-
-
- Add an expected value line to the message containing
- the text provided as an argument.
-
- Text describing what was expected.
-
-
-
- Add an actual value line to the message containing
- the text provided as an argument.
-
- Text describing the actual value.
-
-
-
- Add an expected value line to the message containing
- a string representation of the object provided.
-
- An object representing the expected value
-
-
-
- Add an expected value line to the message containing a double
- and the tolerance used in making the comparison.
-
- The expected value
- The tolerance specified in the Assert
-
-
-
- Add an actual value line to the message containing
- a string representation of the object provided.
-
- An object representing what was actually found
-
-
-
- Display two lines that communicate the expected value, and the actual value
-
- The expected value
- The actual value found
-
-
-
- Display two lines that communicate the expected value, the actual value and
- the tolerance used in comparing two doubles.
-
- The expected value
- The actual value found
- The tolerance specified in the Assert
-
-
-
- Draws a marker under the expected/actual strings that highlights
- where in the string a mismatch occurred.
-
- The position of the mismatch
-
-
-
- Reports whether the string lengths are the same or different, and
- what the string lengths are.
-
- The expected string
- The actual string value
-
-
-
- Called to create additional message lines when two objects have been
- found to be unequal. If the inputs are strings, a special message is
- rendered that can help track down where the strings are different,
- based on differences in length, or differences in content.
-
- If the inputs are not strings, the ToString method of the objects
- is used to show what is different about them.
-
- The expected value
- The actual value
- True if a case-insensitive comparison is being performed
-
-
-
- Called to create additional message lines when two doubles have been
- found to be unequal, within the specified tolerance.
-
-
-
-
- Constructs a message that can be displayed when the content of two
- strings are different, but the string lengths are the same. The
- message will clip the strings to a reasonable length, centered
- around the first position where they are mismatched, and draw
- a line marking the position of the difference to make comparison
- quicker.
-
- The expected string value
- The actual string value
- True if a case-insensitive comparison is being performed
-
-
-
- Display a standard message showing the differences found between
- two arrays that were expected to be equal.
-
- The expected array value
- The actual array value
- The index at which a difference was found
-
-
-
- Display a standard message showing the differences found between
- two collections that were expected to be equal.
-
- The expected collection value
- The actual collection value
- The index at which a difference was found
-
-
-
- Get an array of indices representing the point in a collection or
- array corresponding to a single int index into the collection.
-
- The collection to which the indices apply
- Index in the collection
- Array of indices
-
-
-
- Displays elements from a list on a line
-
- Text to prefix the line with
- The list of items to display
- The index in the list of the first element to display
- The maximum number of elements to display
-
-
-
- Formats an object for display in a message line
-
- The object to be displayed
-
-
-
-
- Tests two objects to determine if they are strings.
-
-
-
-
-
-
-
- Renders up to M characters before, and up to N characters after
- the specified index position. If leading or trailing text is
- clipped, and elipses "..." is added where the missing text would
- be.
-
- Clips strings to limit previous or post newline characters,
- since these mess up the comparison
-
-
-
-
-
-
-
- Shows the position two strings start to differ. Comparison
- starts at the start index.
-
-
-
-
- -1 if no mismatch found, or the index where mismatch found
-
-
-
- Turns CR, LF, or TAB into visual indicator to preserve visual marker
- position. This is done by replacing the '\r' into '\\' and 'r'
- characters, and the '\n' into '\\' and 'n' characters, and '\t' into
- '\\' and 't' characters.
-
- Thus the single character becomes two characters for display.
-
-
-
-
-
-
- Attribute used to apply a category to a test
-
-
-
-
- The name of the category
-
-
-
-
- Construct attribute for a given category
-
- The name of the category
-
-
-
- Protected constructor uses the Type name as the name
- of the category.
-
-
-
-
- The name of the category
-
-
-
-
- Abstract base for Attributes that are used to include tests
- in the test run based on environmental settings.
-
-
-
-
- Constructor with no included items specified, for use
- with named property syntax.
-
-
-
-
- Constructor taking one or more included items
-
- Comma-delimited list of included items
-
-
-
- Name of the item that is needed in order for
- a test to run. Multiple itemss may be given,
- separated by a comma.
-
-
-
-
- Name of the item to be excluded. Multiple items
- may be given, separated by a comma.
-
-
-
-
- The reason for including or excluding the test
-
-
-
-
- PlatformAttribute is used to mark a test fixture or an
- individual method as applying to a particular platform only.
-
-
-
-
- Constructor with no platforms specified, for use
- with named property syntax.
-
-
-
-
- Constructor taking one or more platforms
-
- Comma-deliminted list of platforms
-
-
-
- CultureAttribute is used to mark a test fixture or an
- individual method as applying to a particular Culture only.
-
-
-
-
- Constructor with no cultures specified, for use
- with named property syntax.
-
-
-
-
- Constructor taking one or more cultures
-
- Comma-deliminted list of cultures
-
-
-
- MessageWriter is the abstract base for classes that write
- constraint descriptions and messages in some form. The
- class has separate methods for writing various components
- of a message, allowing implementations to tailor the
- presentation as needed.
-
-
-
-
- Construct a MessageWriter given a culture
-
-
-
-
- Method to write single line message with optional args, usually
- written to precede the general failure message.
-
- The message to be written
- Any arguments used in formatting the message
-
-
-
- Method to write single line message with optional args, usually
- written to precede the general failure message, at a givel
- indentation level.
-
- The indentation level of the message
- The message to be written
- Any arguments used in formatting the message
-
-
-
- Display Expected and Actual lines for a constraint. This
- is called by MessageWriter's default implementation of
- WriteMessageTo and provides the generic two-line display.
-
- The constraint that failed
-
-
-
- Display Expected and Actual lines for given values. This
- method may be called by constraints that need more control over
- the display of actual and expected values than is provided
- by the default implementation.
-
- The expected value
- The actual value causing the failure
-
-
-
- Display Expected and Actual lines for given values, including
- a tolerance value on the Expected line.
-
- The expected value
- The actual value causing the failure
- The tolerance within which the test was made
-
-
-
- Display the expected and actual string values on separate lines.
- If the mismatch parameter is >=0, an additional line is displayed
- line containing a caret that points to the mismatch point.
-
- The expected string value
- The actual string value
- The point at which the strings don't match or -1
- If true, case is ignored in locating the point where the strings differ
- If true, the strings should be clipped to fit the line
-
-
-
- Writes the text for a connector.
-
- The connector.
-
-
-
- Writes the text for a predicate.
-
- The predicate.
-
-
-
- Writes the text for an expected value.
-
- The expected value.
-
-
-
- Writes the text for a modifier
-
- The modifier.
-
-
-
- Writes the text for an actual value.
-
- The actual value.
-
-
-
- Writes the text for a generalized value.
-
- The value.
-
-
-
- Writes the text for a collection value,
- starting at a particular point, to a max length
-
- The collection containing elements to write.
- The starting point of the elements to write
- The maximum number of elements to write
-
-
-
- Abstract method to get the max line length
-
-
-
-
- Static methods used in creating messages
-
-
-
-
- Static string used when strings are clipped
-
-
-
-
- Returns the representation of a type as used in NUnitLite.
- This is the same as Type.ToString() except for arrays,
- which are displayed with their declared sizes.
-
-
-
-
-
-
- Converts any control characters in a string
- to their escaped representation.
-
- The string to be converted
- The converted string
-
-
-
- Return the a string representation for a set of indices into an array
-
- Array of indices for which a string is needed
-
-
-
- Get an array of indices representing the point in a collection or
- array corresponding to a single int index into the collection.
-
- The collection to which the indices apply
- Index in the collection
- Array of indices
-
-
-
- Clip a string to a given length, starting at a particular offset, returning the clipped
- string with ellipses representing the removed parts
-
- The string to be clipped
- The maximum permitted length of the result string
- The point at which to start clipping
- The clipped string
-
-
-
- Clip the expected and actual strings in a coordinated fashion,
- so that they may be displayed together.
-
-
-
-
-
-
-
-
- Shows the position two strings start to differ. Comparison
- starts at the start index.
-
- The expected string
- The actual string
- The index in the strings at which comparison should start
- Boolean indicating whether case should be ignored
- -1 if no mismatch found, or the index where mismatch found
-
-
-
- Summary description for SetCultureAttribute.
-
-
-
-
- PropertyAttribute is used to attach information to a test as a name/value pair..
-
-
-
-
- The property name
-
-
-
-
- The property value
-
-
-
-
- Construct a PropertyAttribute with a name and value
-
- The name of the property
- The property value
-
-
-
- Constructor for use by inherited classes that use the
- name of the type as the property name.
-
-
-
-
- Gets the property name
-
-
-
-
- Gets the property value
-
-
-
-
- Construct given the name of a culture
-
-
-
-
-
- TextMessageWriter writes constraint descriptions and messages
- in displayable form as a text stream. It tailors the display
- of individual message components to form the standard message
- format of NUnit assertion failure messages.
-
-
-
-
- Prefix used for the expected value line of a message
-
-
-
-
- Prefix used for the actual value line of a message
-
-
-
-
- Length of a message prefix
-
-
-
-
- Construct a TextMessageWriter
-
-
-
-
- Construct a TextMessageWriter, specifying a user message
- and optional formatting arguments.
-
-
-
-
-
-
- Method to write single line message with optional args, usually
- written to precede the general failure message, at a givel
- indentation level.
-
- The indentation level of the message
- The message to be written
- Any arguments used in formatting the message
-
-
-
- Display Expected and Actual lines for a constraint. This
- is called by MessageWriter's default implementation of
- WriteMessageTo and provides the generic two-line display.
-
- The constraint that failed
-
-
-
- Display Expected and Actual lines for given values. This
- method may be called by constraints that need more control over
- the display of actual and expected values than is provided
- by the default implementation.
-
- The expected value
- The actual value causing the failure
-
-
-
- Display Expected and Actual lines for given values, including
- a tolerance value on the expected line.
-
- The expected value
- The actual value causing the failure
- The tolerance within which the test was made
-
-
-
- Display the expected and actual string values on separate lines.
- If the mismatch parameter is >=0, an additional line is displayed
- line containing a caret that points to the mismatch point.
-
- The expected string value
- The actual string value
- The point at which the strings don't match or -1
- If true, case is ignored in string comparisons
- If true, clip the strings to fit the max line length
-
-
-
- Writes the text for a connector.
-
- The connector.
-
-
-
- Writes the text for a predicate.
-
- The predicate.
-
-
-
- Write the text for a modifier.
-
- The modifier.
-
-
-
- Writes the text for an expected value.
-
- The expected value.
-
-
-
- Writes the text for an actual value.
-
- The actual value.
-
-
-
- Writes the text for a generalized value.
-
- The value.
-
-
-
- Writes the text for a collection value,
- starting at a particular point, to a max length
-
- The collection containing elements to write.
- The starting point of the elements to write
- The maximum number of elements to write
-
-
-
- Write the generic 'Expected' line for a constraint
-
- The constraint that failed
-
-
-
- Write the generic 'Expected' line for a given value
-
- The expected value
-
-
-
- Write the generic 'Expected' line for a given value
- and tolerance.
-
- The expected value
- The tolerance within which the test was made
-
-
-
- Write the generic 'Actual' line for a constraint
-
- The constraint for which the actual value is to be written
-
-
-
- Write the generic 'Actual' line for a given value
-
- The actual value causing a failure
-
-
-
- Gets or sets the maximum line length for this writer
-
-
-
-
- Basic Asserts on strings.
-
-
-
-
- The Equals method throws an AssertionException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an AssertionException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string starts with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string starts with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
-
-
-
- Asserts that a string starts with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string ends with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string ends with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
-
-
-
- Asserts that a string ends with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that two strings are equal, without regard to case.
-
- The expected string
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that two strings are equal, without regard to case.
-
- The expected string
- The actual string
- The message to display in case of failure
-
-
-
- Asserts that two strings are equal, without regard to case.
-
- The expected string
- The actual string
-
-
-
- Asserts that a string matches an expected regular expression pattern.
-
- The expected expression
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string matches an expected regular expression pattern.
-
- The expected expression
- The actual string
- The message to display in case of failure
-
-
-
- Asserts that a string matches an expected regular expression pattern.
-
- The expected expression
- The actual string
-
-
-
- AssertionHelper is an optional base class for user tests,
- allowing the use of shorter names for constraints and
- asserts and avoiding conflict with the definition of
- , from which it inherits much of its
- behavior, in certain mock object frameworks.
-
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure. Works
- identically to
-
- A Constraint to be applied
- The actual value to test
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure. Works
- identically to
-
- A Constraint to be applied
- The actual value to test
- The message that will be displayed on failure
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure. Works
- identically to
-
- A Constraint to be applied
- The actual value to test
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an . Works Identically to
- .
-
- The evaluated condition
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an . Works Identically to
- .
-
- The evaluated condition
- The message to display if the condition is false
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an . Works Identically to .
-
- The evaluated condition
-
-
-
- Returns a ListMapper based on a collection.
-
- The original collection
-
-
-
-
- Summary description for FileAssert.
-
-
-
-
- The Equals method throws an AssertionException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an AssertionException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- We don't actually want any instances of this object, but some people
- like to inherit from it to add other static methods. Hence, the
- protected constructor disallows any instances of this object.
-
-
-
-
- Verifies that two Streams are equal. Two Streams are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The expected Stream
- The actual Stream
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Verifies that two Streams are equal. Two Streams are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The expected Stream
- The actual Stream
- The message to display if objects are not equal
-
-
-
- Verifies that two Streams are equal. Two Streams are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The expected Stream
- The actual Stream
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
- The message to display if objects are not equal
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
- The message to display if objects are not equal
-
-
-
- Verifies that two files are equal. Two files are considered
- equal if both are null, or if both have the same value byte for byte.
- If they are not equal an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
-
-
-
- Asserts that two Streams are not equal. If they are equal
- an is thrown.
-
- The expected Stream
- The actual Stream
- The message to be displayed when the two Stream are the same.
- Arguments to be used in formatting the message
-
-
-
- Asserts that two Streams are not equal. If they are equal
- an is thrown.
-
- The expected Stream
- The actual Stream
- The message to be displayed when the Streams are the same.
-
-
-
- Asserts that two Streams are not equal. If they are equal
- an is thrown.
-
- The expected Stream
- The actual Stream
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
- The message to display if objects are not equal
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- A file containing the value that is expected
- A file containing the actual value
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
- The message to display if Streams are not equal
- Arguments to be used in formatting the message
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
- The message to display if objects are not equal
-
-
-
- Asserts that two files are not equal. If they are equal
- an is thrown.
-
- The path to a file containing the value that is expected
- The path to a file containing the actual value
-
-
-
- Thrown when an assertion failed.
-
-
-
-
-
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- GlobalSettings is a place for setting default values used
- by the framework in performing asserts.
-
-
-
-
- Default tolerance for floating point equality
-
-
-
-
- Obsolete class, formerly used to identify tests through
- inheritance. Avoid using this class for new tests.
-
-
-
-
- Method called immediately before running the test.
-
-
-
-
- Method Called immediately after running the test. It is
- guaranteed to be called, even if an exception is thrown.
-
-
-
-
- Attribute used to mark a class that contains one-time SetUp
- and/or TearDown methods that apply to all the tests in a
- namespace or an assembly.
-
-
-
-
- SetUpFixtureAttribute is used to identify a SetUpFixture
-
-
-
-
- Attribute used to mark a static (shared in VB) property
- that returns a list of tests.
-
-
-
-
- Attribute used to identify a method that is called
- immediately after each test is run. The method is
- guaranteed to be called, even if an exception is thrown.
-
-
-
-
- Adding this attribute to a method within a
- class makes the method callable from the NUnit test runner. There is a property
- called Description which is optional which you can provide a more detailed test
- description. This class cannot be inherited.
-
-
-
- [TestFixture]
- public class Fixture
- {
- [Test]
- public void MethodToTest()
- {}
-
- [Test(Description = "more detailed description")]
- publc void TestDescriptionMethod()
- {}
- }
-
-
-
-
-
- Descriptive text for this test
-
-
-
-
- [TestFixture]
- public class ExampleClass
- {}
-
-
-
-
- Descriptive text for this fixture
-
-
-
-
- Attribute used to identify a method that is
- called before any tests in a fixture are run.
-
-
-
-
- Attribute used to identify a method that is called after
- all the tests in a fixture have run. The method is
- guaranteed to be called, even if an exception is thrown.
-
-
-
-
- Attribute used to mark a test that is to be ignored.
- Ignored tests result in a warning message when the
- tests are run.
-
-
-
-
- Constructs the attribute without giving a reason
- for ignoring the test.
-
-
-
-
- Constructs the attribute giving a reason for ignoring the test
-
- The reason for ignoring the test
-
-
-
- The reason for ignoring a test
-
-
-
-
- ExplicitAttribute marks a test or test fixture so that it will
- only be run if explicitly executed from the gui or command line
- or if it is included by use of a filter. The test will not be
- run simply because an enclosing suite is run.
-
-
-
-
- Default constructor
-
-
-
-
- Constructor with a reason
-
- The reason test is marked explicit
-
-
-
- The reason test is marked explicit
-
-
-
-
- Attribute used to provide descriptive text about a
- test case or fixture.
-
-
-
-
- Construct the attribute
-
- Text describing the test
-
-
-
- Gets the test description
-
-
-
-
- Interface implemented by a user fixture in order to
- validate any expected exceptions. It is only called
- for test methods marked with the ExpectedException
- attribute.
-
-
-
-
- Method to handle an expected exception
-
- The exception to be handled
-
-
-
diff --git a/src/AllExamples.sln b/src/AllExamples.sln
new file mode 100644
index 00000000..298e29bf
--- /dev/null
+++ b/src/AllExamples.sln
@@ -0,0 +1,460 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.25420.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ServiceStack.Northwind", "ServiceStack.Northwind", "{206CDF5A-68B2-431A-B28D-B8F43C0697A6}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ServiceStack.Examples", "ServiceStack.Examples", "{A42B0FAF-687B-4E2A-845B-BF3D2B5FF6BC}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Hosts", "Hosts", "{2218422E-76B4-4128-ACFF-4CE824B0E0CE}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "StarterTemplates", "StarterTemplates", "{4721A7AC-65B8-48C0-A7CC-BF4B7A2B9D02}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{73398563-F556-4345-80D3-E121F0AA84D2}"
+ ProjectSection(SolutionItems) = preProject
+ StarterTemplates\README.md = StarterTemplates\README.md
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ServiceStack.Hello", "ServiceStack.Hello", "{5AF13B19-7B73-4C74-BB82-A9640BBB58B4}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ServiceStack.MovieRest", "ServiceStack.MovieRest", "{D217E359-75BD-4875-817A-40A4819C4E83}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RedisStackOverflow", "RedisStackOverflow", "{68A679AC-8B0D-45A4-8624-68C706089DEE}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RestFiles", "RestFiles", "{EBC6AB0B-D961-4E31-A2B4-09F74F102B37}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RestIntro", "RestIntro", "{45340404-FACD-4C79-9703-95966FEA84E3}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Backbone.Todos", "Backbone.Todos", "{79CD1278-66D5-458A-B75D-06EF4CC050A9}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{ABD851F4-394B-4999-BCD2-12CE41BEFE9D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Northwind", "ServiceStack.Northwind\ServiceStack.Northwind\ServiceStack.Northwind.csproj", "{3E968D84-7C23-42E9-A443-6355FAA845E2}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Northwind.ServiceModel", "ServiceStack.Northwind\ServiceStack.Northwind.ServiceModel\ServiceStack.Northwind.ServiceModel.csproj", "{14856482-95D3-4A02-968C-665F3D08F94D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Northwind.ServiceInterface", "ServiceStack.Northwind\ServiceStack.Northwind.ServiceInterface\ServiceStack.Northwind.ServiceInterface.csproj", "{A724F80D-4341-4ECA-AC43-CF84A3F03779}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Examples.Host.Web", "ServiceStack.Examples\ServiceStack.Examples.Host.Web\ServiceStack.Examples.Host.Web.csproj", "{3A8D2349-6E97-47A2-AC49-EFE7D89C0344}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Examples.ServiceInterface", "ServiceStack.Examples\ServiceStack.Examples.ServiceInterface\ServiceStack.Examples.ServiceInterface.csproj", "{519A7B72-D144-436D-AAC3-7BAAEAD3FF52}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Examples.Host.Console", "ServiceStack.Examples\ServiceStack.Examples.Host.Console\ServiceStack.Examples.Host.Console.csproj", "{77363223-98F2-4724-8044-569C6485B3A9}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Examples.Clients", "ServiceStack.Examples\ServiceStack.Examples.Clients\ServiceStack.Examples.Clients.csproj", "{53F87D5C-4540-4AFD-BD19-E081FD8E586B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Examples.ServiceModel", "ServiceStack.Examples\ServiceStack.Examples.ServiceModel\ServiceStack.Examples.ServiceModel.csproj", "{2B840832-3036-47D9-8F9B-560CD5C2BF90}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StarterTemplates.Common", "StarterTemplates\StarterTemplates.Common\StarterTemplates.Common.csproj", "{ACBF3D12-379A-41D7-87DB-C376CFCBD131}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleAppHost", "StarterTemplates\ConsoleAppHost\ConsoleAppHost.csproj", "{79950922-9EFF-44E1-993A-4EA20DEC780A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinServiceAppHost", "StarterTemplates\WinServiceAppHost\WinServiceAppHost.csproj", "{D49ABE7E-B090-4473-B80B-B2432BBF8CB5}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Hello", "ServiceStack.Hello\ServiceStack.Hello.csproj", "{A8F9A08B-E704-4C77-939B-B56670A2A98D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RedisStackOverflow.ServiceInterface", "RedisStackOverflow\RedisStackOverflow.ServiceInterface\RedisStackOverflow.ServiceInterface.csproj", "{41C8C157-B2A4-4DDE-B153-233E46109F39}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RedisStackOverflow", "RedisStackOverflow\RedisStackOverflow\RedisStackOverflow.csproj", "{CCAC74EA-08EE-41A8-BF01-8F1B7D207144}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestFiles", "RestFiles\RestFiles\RestFiles.csproj", "{70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestFiles.ServiceInterface", "RestFiles\RestFiles.ServiceInterface\RestFiles.ServiceInterface.csproj", "{5B91935A-7ED6-4496-871B-6AD25BC3F097}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestFiles.ServiceModel", "RestFiles\RestFiles.ServiceModel\RestFiles.ServiceModel.csproj", "{6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestIntro", "RestIntro\RestIntro\RestIntro.csproj", "{2E71EB42-595D-4181-A27B-BD85DCA739D1}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestIntro.ServiceModel", "RestIntro\RestIntro.ServiceModel\RestIntro.ServiceModel.csproj", "{8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestIntro.ServiceInterface", "RestIntro\RestIntro.ServiceInterface\RestIntro.ServiceInterface.csproj", "{CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Backbone.Todos", "Backbone.Todos\Backbone.Todos.csproj", "{BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Docs", "Docs\Docs.csproj", "{19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Docs.Logic", "Docs\Docs.Logic\Docs.Logic.csproj", "{2A606EB5-47BD-47B1-97EB-8C208DF63ABF}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RedisStackOverflow.ServiceModel", "RedisStackOverflow\RedisStackOverflow.ServiceModel\RedisStackOverflow.ServiceModel.csproj", "{BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.MovieRest", "ServiceStack.MovieRest\Web\ServiceStack.MovieRest.csproj", "{EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{1DE83058-60D9-4637-90EF-C3E46EAA9ACC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Examples.Tests", "..\tests\ServiceStack.Examples.Tests\ServiceStack.Examples.Tests.csproj", "{969644BC-B209-4458-8DC1-041D7A9ADD3B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Examples.Tests.Integration", "..\tests\ServiceStack.Examples.Tests.Integration\ServiceStack.Examples.Tests.Integration.csproj", "{21777EAF-74FD-4D0B-947A-C602D8D3EBBA}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestFiles.Tests", "RestFiles\RestFiles.Tests\RestFiles.Tests.csproj", "{DAE4FFC2-B446-4020-8578-19B816FAA40A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RootPath45", "StarterTemplates\RootPath45\RootPath45.csproj", "{91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{19FF9025-F307-4507-9CCB-5D08D7D975E1}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomPath45", "StarterTemplates\CustomPath45\CustomPath45.csproj", "{E256695F-8607-4A79-ABA5-6FED3A400C71}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|Mixed Platforms = Debug|Mixed Platforms
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|Mixed Platforms = Release|Mixed Platforms
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {3E968D84-7C23-42E9-A443-6355FAA845E2}.Release|x86.ActiveCfg = Release|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {14856482-95D3-4A02-968C-665F3D08F94D}.Release|x86.ActiveCfg = Release|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779}.Release|x86.ActiveCfg = Release|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344}.Release|x86.ActiveCfg = Release|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Release|Any CPU.Build.0 = Release|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52}.Release|x86.ActiveCfg = Release|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {77363223-98F2-4724-8044-569C6485B3A9}.Release|x86.ActiveCfg = Release|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B}.Release|x86.ActiveCfg = Release|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90}.Release|x86.ActiveCfg = Release|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Release|Any CPU.Build.0 = Release|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131}.Release|x86.ActiveCfg = Release|Any CPU
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Debug|Any CPU.Build.0 = Debug|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Debug|x86.ActiveCfg = Debug|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Debug|x86.Build.0 = Debug|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Release|Any CPU.ActiveCfg = Release|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Release|Any CPU.Build.0 = Release|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Release|Mixed Platforms.Build.0 = Release|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Release|x86.ActiveCfg = Release|x86
+ {79950922-9EFF-44E1-993A-4EA20DEC780A}.Release|x86.Build.0 = Release|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Debug|Any CPU.Build.0 = Debug|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Debug|x86.ActiveCfg = Debug|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Debug|x86.Build.0 = Debug|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Release|Any CPU.ActiveCfg = Release|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Release|Any CPU.Build.0 = Release|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Release|Mixed Platforms.Build.0 = Release|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Release|x86.ActiveCfg = Release|x86
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5}.Release|x86.Build.0 = Release|x86
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D}.Release|x86.ActiveCfg = Release|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Release|Any CPU.Build.0 = Release|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {41C8C157-B2A4-4DDE-B153-233E46109F39}.Release|x86.ActiveCfg = Release|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144}.Release|x86.ActiveCfg = Release|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB}.Release|x86.ActiveCfg = Release|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097}.Release|x86.ActiveCfg = Release|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF}.Release|x86.ActiveCfg = Release|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1}.Release|x86.ActiveCfg = Release|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114}.Release|x86.ActiveCfg = Release|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10}.Release|x86.ActiveCfg = Release|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2}.Release|x86.ActiveCfg = Release|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F}.Release|x86.ActiveCfg = Release|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF}.Release|x86.ActiveCfg = Release|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Release|Any CPU.Build.0 = Release|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14}.Release|x86.ActiveCfg = Release|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}.Release|x86.ActiveCfg = Release|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B}.Release|x86.ActiveCfg = Release|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA}.Release|x86.ActiveCfg = Release|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Debug|x86.Build.0 = Debug|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Release|x86.ActiveCfg = Release|Any CPU
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A}.Release|x86.Build.0 = Release|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Debug|x86.Build.0 = Debug|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Release|x86.ActiveCfg = Release|Any CPU
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F}.Release|x86.Build.0 = Release|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Debug|x86.Build.0 = Debug|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Release|x86.ActiveCfg = Release|Any CPU
+ {E256695F-8607-4A79-ABA5-6FED3A400C71}.Release|x86.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {2218422E-76B4-4128-ACFF-4CE824B0E0CE} = {A42B0FAF-687B-4E2A-845B-BF3D2B5FF6BC}
+ {73398563-F556-4345-80D3-E121F0AA84D2} = {4721A7AC-65B8-48C0-A7CC-BF4B7A2B9D02}
+ {3E968D84-7C23-42E9-A443-6355FAA845E2} = {206CDF5A-68B2-431A-B28D-B8F43C0697A6}
+ {14856482-95D3-4A02-968C-665F3D08F94D} = {206CDF5A-68B2-431A-B28D-B8F43C0697A6}
+ {A724F80D-4341-4ECA-AC43-CF84A3F03779} = {206CDF5A-68B2-431A-B28D-B8F43C0697A6}
+ {3A8D2349-6E97-47A2-AC49-EFE7D89C0344} = {2218422E-76B4-4128-ACFF-4CE824B0E0CE}
+ {519A7B72-D144-436D-AAC3-7BAAEAD3FF52} = {A42B0FAF-687B-4E2A-845B-BF3D2B5FF6BC}
+ {77363223-98F2-4724-8044-569C6485B3A9} = {2218422E-76B4-4128-ACFF-4CE824B0E0CE}
+ {53F87D5C-4540-4AFD-BD19-E081FD8E586B} = {2218422E-76B4-4128-ACFF-4CE824B0E0CE}
+ {2B840832-3036-47D9-8F9B-560CD5C2BF90} = {A42B0FAF-687B-4E2A-845B-BF3D2B5FF6BC}
+ {ACBF3D12-379A-41D7-87DB-C376CFCBD131} = {4721A7AC-65B8-48C0-A7CC-BF4B7A2B9D02}
+ {79950922-9EFF-44E1-993A-4EA20DEC780A} = {4721A7AC-65B8-48C0-A7CC-BF4B7A2B9D02}
+ {D49ABE7E-B090-4473-B80B-B2432BBF8CB5} = {4721A7AC-65B8-48C0-A7CC-BF4B7A2B9D02}
+ {A8F9A08B-E704-4C77-939B-B56670A2A98D} = {5AF13B19-7B73-4C74-BB82-A9640BBB58B4}
+ {41C8C157-B2A4-4DDE-B153-233E46109F39} = {68A679AC-8B0D-45A4-8624-68C706089DEE}
+ {CCAC74EA-08EE-41A8-BF01-8F1B7D207144} = {68A679AC-8B0D-45A4-8624-68C706089DEE}
+ {70B9EEDE-BC2A-42EB-933D-A94D7D4275CB} = {EBC6AB0B-D961-4E31-A2B4-09F74F102B37}
+ {5B91935A-7ED6-4496-871B-6AD25BC3F097} = {EBC6AB0B-D961-4E31-A2B4-09F74F102B37}
+ {6BBEDCA5-1183-49EE-AE80-0269DEB2EDEF} = {EBC6AB0B-D961-4E31-A2B4-09F74F102B37}
+ {2E71EB42-595D-4181-A27B-BD85DCA739D1} = {45340404-FACD-4C79-9703-95966FEA84E3}
+ {8ED227D1-0C83-4A1D-91D0-1B9DFCD8E114} = {45340404-FACD-4C79-9703-95966FEA84E3}
+ {CBC26F2A-3B89-4DA4-A5A0-7C05A48EAF10} = {45340404-FACD-4C79-9703-95966FEA84E3}
+ {BDE04BD3-40A0-4B8E-A0B9-7729FFB7D1C2} = {79CD1278-66D5-458A-B75D-06EF4CC050A9}
+ {19ADDEEC-EAF9-4B42-8EEC-86CD389D834F} = {ABD851F4-394B-4999-BCD2-12CE41BEFE9D}
+ {2A606EB5-47BD-47B1-97EB-8C208DF63ABF} = {ABD851F4-394B-4999-BCD2-12CE41BEFE9D}
+ {BFAB0E32-43F3-4A0E-9409-FC57FCF4BF14} = {68A679AC-8B0D-45A4-8624-68C706089DEE}
+ {EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C} = {D217E359-75BD-4875-817A-40A4819C4E83}
+ {1DE83058-60D9-4637-90EF-C3E46EAA9ACC} = {A42B0FAF-687B-4E2A-845B-BF3D2B5FF6BC}
+ {969644BC-B209-4458-8DC1-041D7A9ADD3B} = {1DE83058-60D9-4637-90EF-C3E46EAA9ACC}
+ {21777EAF-74FD-4D0B-947A-C602D8D3EBBA} = {1DE83058-60D9-4637-90EF-C3E46EAA9ACC}
+ {DAE4FFC2-B446-4020-8578-19B816FAA40A} = {19FF9025-F307-4507-9CCB-5D08D7D975E1}
+ {91D8B4E8-1973-40C6-AF44-DBFEEAAF0C7F} = {4721A7AC-65B8-48C0-A7CC-BF4B7A2B9D02}
+ {19FF9025-F307-4507-9CCB-5D08D7D975E1} = {EBC6AB0B-D961-4E31-A2B4-09F74F102B37}
+ {E256695F-8607-4A79-ABA5-6FED3A400C71} = {4721A7AC-65B8-48C0-A7CC-BF4B7A2B9D02}
+ EndGlobalSection
+ GlobalSection(MonoDevelopProperties) = preSolution
+ StartupItem = ..\Client\RemoteInfoClient\RemoteInfoClient.csproj
+ EndGlobalSection
+EndGlobal
diff --git a/src/AllExamples.sln.DotSettings b/src/AllExamples.sln.DotSettings
new file mode 100644
index 00000000..11f2c267
--- /dev/null
+++ b/src/AllExamples.sln.DotSettings
@@ -0,0 +1,3 @@
+
+ <data><IncludeFilters /><ExcludeFilters /></data>
+ <data />
\ No newline at end of file
diff --git a/src/Backbone.Todos/Backbone.Todos.csproj b/src/Backbone.Todos/Backbone.Todos.csproj
index e82b9ae5..066a9f92 100644
--- a/src/Backbone.Todos/Backbone.Todos.csproj
+++ b/src/Backbone.Todos/Backbone.Todos.csproj
@@ -1,5 +1,6 @@

+ DebugAnyCPU
@@ -12,7 +13,19 @@
PropertiesBackbone.TodosBackbone.Todos
- v3.5
+ v4.5
+ true
+
+
+
+
+ 4.0
+
+
+
+
+
+ true
@@ -22,6 +35,7 @@
DEBUG;TRACEprompt4
+ falsepdbonly
@@ -30,39 +44,46 @@
TRACEprompt4
+ false
-
- False
- ..\..\lib\ServiceStack.dll
+
+ ..\packages\ServiceStack.4.5.0\lib\net45\ServiceStack.dll
+ True
-
- False
- ..\..\lib\ServiceStack.Common.dll
+
+ ..\packages\ServiceStack.Client.4.5.0\lib\net45\ServiceStack.Client.dll
+ True
-
- False
- ..\..\lib\ServiceStack.Interfaces.dll
+
+ ..\packages\ServiceStack.Common.4.5.0\lib\net45\ServiceStack.Common.dll
+ True
-
- False
- ..\..\lib\ServiceStack.Redis.dll
+
+ ..\packages\ServiceStack.Interfaces.4.5.0\lib\portable-wp80+sl5+net45+win8+wpa81+monotouch+monoandroid+xamarin.ios10\ServiceStack.Interfaces.dll
+ True
-
- False
- ..\..\lib\ServiceStack.ServiceInterface.dll
+
+ ..\packages\ServiceStack.Redis.4.5.0\lib\net45\ServiceStack.Redis.dll
+ True
-
- ..\..\lib\ServiceStack.Text.dll
+
+ ..\packages\ServiceStack.Text.4.5.0\lib\net45\ServiceStack.Text.dll
+ True
-
+
+
+
+
+
+
-
+
@@ -80,11 +101,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -93,9 +114,16 @@
-
+
+
+
+
+ 10.0
+ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
+
-
+
+
@@ -104,7 +132,7 @@
True11809/
- http://localhost/Backbone.Todos
+ http://localhost:11809/FalseFalse
@@ -113,6 +141,11 @@
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Backbone.Todos/default.htm b/src/Backbone.Todos/default.htm
index 66bf4e1f..a08250b3 100644
--- a/src/Backbone.Todos/default.htm
+++ b/src/Backbone.Todos/default.htm
@@ -1,64 +1,56 @@
-
-
+
Backbone Demo: Todos
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
- ServiceStack docs is a collection of all documentation found in the README.md and
- wiki pages that are in amongst all of ServiceStack's GitHub Open Source projects.
+ ServiceStack docs is a collection of all documentation found in the README.md and wiki pages that are in amongst all of ServiceStack's GitHub Open Source projects.