Portoa
Implodes an enumeration given a selector function and a separator
Performs the specified action on each item in the collection. The action will execute immediately.
Use WalkDeferred if deferred execution is needed.
Performs the specified action on each item in the collection. The action will not execute until the collection
is enumerated. Use Walk if deferred execution is not needed.
Indicates that marked element should be localized or not.
Initializes a new instance of the class.
true if a element should be localized; otherwise, false.
Returns whether the value of the given object is equal to the current .
The object to test the value equality of.
true if the value of the given object is equal to that of the current; otherwise, false.
Returns the hash code for this instance.
A hash code for the current .
Gets a value indicating whether a element should be localized.
true if a element should be localized; otherwise, false.
Indicates that marked method builds string by format pattern and (optional) arguments.
Parameter, which contains format string, should be given in constructor.
The format string should be in -like form
Initializes new instance of StringFormatMethodAttribute
Specifies which parameter of an annotated method should be treated as format-string
Gets format parameter name
Indicates that the function argument should be string literal and match one of the parameters of the caller function.
For example, has such parameter.
Indicates that the marked method is assertion method, i.e. it halts control flow if one of the conditions is satisfied.
To set the condition, mark one of the parameters with attribute
Indicates the condition parameter of the assertion method.
The method itself should be marked by attribute.
The mandatory argument of the attribute is the assertion type.
Initializes new instance of AssertionConditionAttribute
Specifies condition type
Gets condition type
Specifies assertion type. If the assertion method argument satisifes the condition, then the execution continues.
Otherwise, execution is assumed to be halted
Indicates that the marked parameter should be evaluated to true
Indicates that the marked parameter should be evaluated to false
Indicates that the marked parameter should be evaluated to null value
Indicates that the marked parameter should be evaluated to not null value
Indicates that the marked method unconditionally terminates control flow execution.
For example, it could unconditionally throw exception
Indicates that the value of marked element could be null sometimes, so the check for null is necessary before its usage
Indicates that the value of marked element could never be null
Indicates that the value of marked type (or its derivatives) cannot be compared using '==' or '!=' operators.
There is only exception to compare with null, it is permitted
When applied to target attribute, specifies a requirement for any type which is marked with
target attribute to implement or inherit specific type or types
[BaseTypeRequired(typeof(IComponent)] // Specify requirement
public class ComponentAttribute : Attribute
{}
[Component] // ComponentAttribute requires implementing IComponent interface
public class MyComponent : IComponent
{}
Initializes new instance of BaseTypeRequiredAttribute
Specifies which types are required
Gets enumerations of specified base types
Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library),
so this symbol will not be marked as unused (as well as by other usage inspections)
Gets value indicating what is meant to be used
Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes as unused (as well as by other usage inspections)
Gets value indicating what is meant to be used
Only entity marked with attribute considered used
Indicates implicit assignment to a member
Indicates implicit instantiation of a type
Specify what is considered used implicitly when marked with or
Members of entity marked with attribute are considered used
Entity marked with attribute and all its members considered used
Validates that the value is greater than zero
Gets a human-readable string representing the given type
Whether to use the fully qualified name of each type
Represents a transaction
Starts a transaction
Commits a transaction
Rolls back a transaction
Drops the temp database and resets the generated database name
Creates a temporary database with a unique name
Executes a SQL script on the test database
Gets the connection string for the fake database
Sets the default connection string (do not include the initial catalog)
Provides a CRUD interface to a persistence medium for entities that have an
integral identifier
The entity's type
Provides a CRUD interface to a persistence medium
The entity's type
The entity identifier's type
Persists an entity (inserts or updates)
The entity to save
Reloads an entity from the persistence medium
The entity to reload
Deletes an entity
The unique identifier of the entity to delete
Finds an entity by its unique identifier
The unique identifier of the entity to locate
Equivalent of "select *"
TODO: add reflection cache
Extension to System.ComponentModel.DataAnnotations.Validator.TryValidateObject(). This method validates
the object, its properties and its fields.
Validates that a string is a valid email address. Set AllowEmpty to true
if null and empty strings should not be validated.
Determines if this object should be logged
Signifies that this object should not be logged