Rhino.Commons.Clr
Raised when a collection iteration was asked to find an element that
does not exists
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The parameter is null.
The class name is null or is zero (0).
Raised when a has expired.
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
The message.
The inner.
Initializes a new instance of the class.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The parameter is null.
The class name is null or is zero (0).
Raised when the performance policy or SLA are raised.
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
The message.
The inner.
Initializes a new instance of the class.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The parameter is null.
The class name is null or is zero (0).
Helper class that allow to specify temporary hacks in a
simple fashion
TimeBombHack.Until(new DateTime(2007,12,31), "Ignoring security for the client demo");
Will throw with the specified message after the
The expiry date
The message.
Implementors of this interface are used to store data
in a local fashion
Clears this instance.
Gets or sets the with the specified key.
This class is key for handling local data, data that is private
to the current context, be it the current thread, the current web
request, etc.
Gets the current data
The data.
Gets a value indicating whether running in the web context
true if [running in web]; otherwise, false.
Assembly helpers.
Loads the assembly with the supplied assembly name.
The assembly name.
The loaded assembly.
Helper class for collections
Return an IList containing all the items passed in the construtor.
A cheap way to create a list from known variables, basically.
The items.
Determines whether an element matching a predicate exists
in the collection.
The collection.
The predicate to test.
Get the first item in the collection, if it exists
The collection.
Get the last element in the collection, if it exists
The collection.
Selects the items in the collection in the specified range.
The collection to get a range of elements from.
The index at which to start collecting elements.
The number of elements to collect.
Selects all the items in the collection
that match the specified predicate
The collection.
The predicate.
Find the first item that match the given predicate, or
default value if not element was matched
The items.
The pred.
Selects all items in the collection that does not
match the specified predicate
The collection.
The predicate.
Execute the action on all the items in the collection
The collection.
The action.
Convert an untyped obj to array of specified type
The type is assumed to implement IEnumerable
The list.
Convert the given IEnumerable to an array
The list.
Converts the list to a binding list
The list.
Groups the items in the collection according to the grouping value
returned from the converter
The item in the collection
The grouping item
The collection.
The converter.
> results = Collection.GroupBy(nums, delegate(int num) { return num % 2 == 0; });
]]>
Will output:
{
true : { 2,4,6,8,10 },
false : { 1,3,5,7,9 },
}
Return a single element from the collection, and throw if
the collection has more than a single item
The collection.
Return a collection where each item from the original collection
appear once and only once
The collection.
Return a collection where each item from the original collection
appear once and only once
The collection.
Translate from one type to another using the converter
The type of the source.
The type of the result.
The source.
The converter.
Reduces the specified source from a collection to the
The type of the source.
The type of the result.
The source.
The start value.
The accumulator.
Delegate for accumulating the values
Helper class for dates
Combines the date part of the first date with the
time part of the second part
The date part.
The time part.
Get the start of the month of this date
The date.
Get the end of the month from this date
The date.
Get the next date that match the day of the week
The day of week.
Get the previous date that match the day of the week
The day of week.
Get the start of the ween this date is on
The time.
Get the end of the ween this date is on
The time.
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Common delegate definition
Better sytnax for context operation.
Wraps a delegate that is executed when the Dispose method is called.
This allows to do context sensitive things easily.
Basically, it mimics Java's anonymous classes.
The type of the parameter that the delegate to execute on dispose
will accept
Initializes a new instance of the class.
The action to execute on dispose
The value that will be passed to the action on dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets the value associated with this action
The value.
Better sytnax for context operation.
Wraps a delegate that is executed when the Dispose method is called.
This allows to do context sensitive things easily.
Basically, it mimics Java's anonymous classes.
Initializes a new instance of the class.
The action to execute on dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Generic version of EveryArgs, allow to avoid
defining custom EventArgs types
Initializes a new instance of the class.
The item.
Gets or sets the item for this event args
The item.
Helper class for guard statements, which allow prettier
code for guard clauses
Will throw a if the assertion
is true, with the specificied message.
if set to true [assertion].
The message.
Sample usage:
Guard.Against(string.IsNullOrEmpty(name), "Name must have a value");
Will throw exception of type
with the specified message if the assertion is true
if set to true [assertion].
The message.
Sample usage:
(string.IsNullOrEmpty(name), "Name must have a value");
]]>
Allow to add named indexers to language like C#, that doesn't
support them.
The type of the return type.
The type of the index type.
Initializes a new instance of the class.
The getter.
The setter.
Gets or sets the RetType at the specified index.
Allow to add named getter indexers to language like C#, that doesn't
support them.
The type of the ret type.
The type of the index type.
Initializes a new instance of the class.
The getter.
Gets the RetType at the specified index.
Allow to add named setter indexers to language like C#, that doesn't
support them.
The type of the ret type.
The type of the index type.
Initializes a new instance of the class.
The setter.
Sets the RetType with the specified ERROR.
Helper class to use delegate inference in order to get
faster GetMethod approach
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
Get the method of the delegate
This marker attribute decorate dangerous parts of the code
where for some reason the developer decided to do something in a way
that is not straight-forward.
This usually means that this is using some functionality that is not fully supported.
Initializes a new instance of the class.
Initializes a new instance of the class.
The why are you using this.
Helper class to provide simple data access, when we want to access the ADO.Net
library directly.
Execute the specified delegate inside a transaction and return
the result of the delegate.
The name of the named connection string in the configuration file
The action to execute
Execute the specified delegate inside a transaction
Name of the connection string.
The action to execute.
Execute the specified delegate inside a transaction with the specific
isolation level
Name of the connection string.
The isolation level.
The action to execute.
Disposes the transaction.
Rollbacks the transaction.
Commits the transaction.
Starts the transaction.
The name.
The isolation.
Creates an open connection for a given named connection string, using the provider name
to select the proper implementation
The name.
The open connection
Gets or sets the active connection.
The active connection.
Gets or sets the active transaction.
The active transaction.
Gets or sets the transaction counter.
The transaction counter.
Delegate to execute an action with a command
and return a result:
Delegate to execute an action with a command
Helper class for performing validation
Validate that the start date comes beore the end.
The start.
The end.
Validate that the string in not null or empty
The STR.
The name.
Validate that the object is not null
The obj.
Name of the param.
Validate overlap of comparables
The start.
The end.
The obj.
Name of the param.
Validate overlap of dates
The inner start.
The inner end.
The outer start.
The outer end.
Validate that the number is positive
The number.
The name.