The namespaces specified in this document are:
| Namespace | Assembly |
|---|---|
| DevInstinct.Xml | DevInstinct |
| DevInstinct | DevInstinct |
| DevInstinct.Parsing | DevInstinct |
| DevInstinct.Threading.Samples | DevInstinct |
| DevInstinct.Threading | DevInstinct |
| DevInstinct.IO | DevInstinct |
| DevInstinct.Configuration | DevInstinct |
| DevInstinct.Collections | DevInstinct |
| DevInstinct.ExternalLibraries.ExpressionEvaluation | DevInstinct |
| DevInstinct.Soa | DevInstinct |
| DevInstinct.Web.Services.Protocols | DevInstinct |
| DevInstinct.Soa.ErrorCodes | DevInstinct |
| DevInstinct.Diagnostics | DevInstinct |
| DevInstinct.Iso | DevInstinct |
| DevInstinct.Xml.Serialization | DevInstinct |
| DevInstinct.Caching | DevInstinct |
| DevInstinct.Web | DevInstinct |
| DevInstinct.Resources | DevInstinct |
| DevInstinct.Patterns | DevInstinct |
| DevInstinct.Resources.Tools | DevInstinct.Resources.Tools |
| DevInstinct.Resources | DevInstinct.Resources.Tools |
| Type | Summary |
|---|---|
| HttpResponseUtil | Utility methods for HTTP response. |
public abstract class HttpResponseUtil
Utility methods for HTTP response.
Utility methods for HTTP response.
| Name | Access | Summary |
|---|---|---|
| EndResponse() : Void | public | Ends the given http response. |
| GetResponse() : HttpResponse | public | Gets the HttpResponse of the current context. |
| PrepareResponse() : Void | public | Clears the given http response and sets the content type. |
| WriteFile() : Void | public | Properly writes a file to the response stream. |
| WriteObject() : Void | public | Properly serializes an object, with XmlSerializer, to the response stream. |
| WriteTypeSchema() : Void | public | Properly serializes a type's xml schema to the response stream. |
| Type | Summary |
|---|---|
| GlobalResourceManager | Manages resources system-wide for all types. |
| Type | Summary |
|---|---|
| ResXDataReader | Reads ResXDataNode entries from a resource file. |
public abstract class GlobalResourceManager
Manages resources system-wide for all types.
Manages resources system-wide for all types.
| Name | Access | Summary |
|---|---|---|
| GetManifestResourceStream() : Stream | public | Loads the specified manifest resource from the calling assembly, in the calling method declaring type's namespace. |
| GetString() : String | public | Gets the value of the object-specified String resource for the current culture. |
| GetString() : String | public | Gets the value of the object-specified formatted resource for the current culture. |
| GetString() : String | public | Gets the value of the specified String resource for the current culture. |
| GetString() : String | public | Gets the value of the specified formatted resource for the current culture. |
public class ResXDataReader
Reads ResXDataNode entries from a resource file.
Reads ResXDataNode entries from a resource file.
| Name | Access | Summary |
|---|---|---|
| GetDictionaryFromContent() : ResXDataNode} | public | Returns a dictionary of string resources built from the given resource file content. |
| GetDictionaryFromContent() : ResXDataNode} | public | Returns a dictionary of string resources built from the given resource file content. |
| GetDictionaryFromFile() : ResXDataNode} | public | Returns a dictionary of string resources built from the given resource file. |
| IsLocalizedFile() : Boolean | public | Returns true if the given file name is a localized resource file name. |
| Type | Summary |
|---|---|
| CollectionEvents | Specifies the events that can be raised by a dynamic collection. |
| Type | Summary |
|---|---|
| CollectionEventHandler | Represents the method that will handle collection events. |
| CollectionExceptionEventHandler<> | Represents the method that will handle collection events. |
| Type | Summary |
|---|---|
| ArrayUtil | Offers extended array functionalities. |
| IndexedList<> | Implements an indexed list. |
| ListComparer | Compares two lists for equivalence. |
| ListEvent<> | Implements the Generic IList interface using an array whose size is dynamically increased as required and provides events for list changes. The CLS-compliant alternative is ArrayList. |
| SetCollection<> | Represents a strongly-typed collection of objects that can be used in set operations. |
| SimplePair<> | Represents a pair of elements. |
public enumeration CollectionEvents
Specifies the events that can be raised by a dynamic collection.
Specifies the events that can be raised by a dynamic collection.
| Field | Summary |
|---|---|
| Cleared | All the elements have been removed from the collection. |
| ElementAdded | An element has been added to the collection. |
| ElementRemoved | An element has been removed from the collection. |
| Reordered | The elements have been reordered in the collection. |
public delegate CollectionEventHandler
Represents the method that will handle collection events.
Collection events that occured.
public delegate CollectionExceptionEventHandler<>
Represents the method that will handle collection events.
The item that caused the exception.
public abstract class ArrayUtil
Offers extended array functionalities.
Offers extended array functionalities.
| Name | Access | Summary |
|---|---|---|
| CreateArray() : <>[] | public | Creates an array of initialized objects. |
public class ListEvent<> : List
Implements the Generic IList interface using an array whose size is dynamically increased as required and provides events for list changes. The CLS-compliant alternative is ArrayList.
The type of the items in the list.
| Name | Access | Summary |
|---|---|---|
| ListEvent<>() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| Item : <> | public | Gets or sets the element at the specified index and raises the CollectionEvents.ElementAdded event if an element is set. |
| Name | Access | Summary |
|---|---|---|
| Add() : Void | public | Adds an object to the end of the Generic List and raises the CollectionEvents.ElementAdded event. |
| AddRange() : Void | public | Adds the elements of the specified collection to the end of the Generic List and raises the CollectionEvents.ElementAdded event. |
| Clear() : Void | public | Removes all elements from the Generic Listand raises the CollectionEvents.Cleared event. |
| Insert() : Void | public | Inserts an element into the Generic List at the specified index and raises the CollectionEvents.ElementAdded event. |
| InsertRange() : Void | public | Inserts the elements of a collection into the Generic List at the specified index and raises the CollectionEvents.ElementAdded event. |
| Remove() : Boolean | public | Removes the first occurrence of a specific object from the Generic List and raises the CollectionEvents.ElementRemoved event. |
| RemoveAll() : Int32 | public | Removes the all the elements that match the conditions defined by the specified predicate and raises the CollectionEvents.ElementRemoved event. |
| RemoveAt() : Void | public | Removes the element at the specified index of the Generic List and raises the CollectionEvents.ElementRemoved event. |
| RemoveRange() : Void | public | Removes a range of elements from the Generic List and raises the CollectionEvents.ElementRemoved event. |
| Reverse() : Void | public | Reverses the order of the elements in the entire Generic List and raises the CollectionEvents.Reordered event. |
| Reverse() : Void | public | Reverses the order of the elements in the specified range and raises the CollectionEvents.Reordered event. |
| Sort() : Void | public | Sorts the elements in the entire Generic List using the default comparer and raises the CollectionEvents.Reordered event. |
| Sort() : Void | public | Sorts the elements in the entire Generic List using the specified comparer and raises the CollectionEvents.Reordered event. |
| Sort() : Void | public | Sorts the elements in the entire Generic List using the specified Generic System.Comparison and raises the CollectionEvents.Reordered event. |
| Sort() : Void | public | Sorts the elements in a range of elements in Generic List using the specified comparer and raises the CollectionEvents.Reordered event. |
public class IndexedList<> : System.Collections.Generic.ICollection<>, System.Collections.Generic.IEnumerable<>, System.Collections.IEnumerable
Implements an indexed list.
The items in the list must implement the IKeyElement interface and have unique keys.
| Name | Access | Summary |
|---|---|---|
| IndexedList<>() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| Count : Int32 | public | Gets the number of elements contained in the indexed list. |
| IsReadOnly : Boolean | public | Gets a value indicating whether the indexed list is read-only. |
| Item : <> | public | Gets the value associated with the specified key. |
| Name | Access | Summary |
|---|---|---|
| Add() : Void | public | Adds an item to the collection. |
| Add() : Void | public | Adds an item to the collection. |
| Clear() : Void | public | Removes all items from the indexed list. |
| Contains() : Boolean | public | Determines whether the indexed list contains a specific value. |
| ContainsKey() : Boolean | public | Determines whether the IndexedList contains the specified key. |
| CopyTo() : Void | public | Copies the elements of the indexed list to an Array, starting at a particular Array index. |
| GetEnumerator() : IEnumerator{<>} | public | Returns an enumerator that iterates through the collection. |
| Remove() : Boolean | public | Removes the given item from the indexed list. |
public class ListComparer : System.Collections.IComparer
Compares two lists for equivalence.
See the .NET class Comparer.
| Name | Access | Summary |
|---|---|---|
| ListComparer() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| Default : ListComparer | public | Represents an instance of ListComparer that is associated with the Thread.CurrentCulture of the current thread. |
| Name | Access | Summary |
|---|---|---|
| Compare() : Int32 | public | Performs a case-sensitive comparison of two lists of implementing the IList interface and returns a value indicating whether one is less than, equal to or greater than the other. |
public class SetCollection<> : System.Collections.Generic.ICollection<>, System.Collections.Generic.IEnumerable<>, System.Collections.IEnumerable
Represents a strongly-typed collection of objects that can be used in set operations.
The collections used by the set and set operations are expected to contain unique values. Collections with duplicate values may have duplicate values in set operation results.
| Name | Access | Summary |
|---|---|---|
| SetCollection<>() | public | Constructor. |
| SetCollection<>() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Count : Int32 | public | Gets the number of elements contained in the set. |
| IsReadOnly : Boolean | public | Gets a value indicating whether the set is read-only. |
| Name | Access | Summary |
|---|---|---|
| Add() : Void | public | Adds an item to the set. |
| Clear() : Void | public | Removes all items from the set. |
| Contains() : Boolean | public | Determines whether the set contains a specific value. |
| CopyTo() : Void | public | Copies the elements of the set to a System.Array, starting at a particular System.Array index. |
| GetComplement() : IList{<>} | public | Returns the items of the given collection that are not in this set. |
| GetDifference() : IList{<>} | public | Returns the items of this set that are not in the given collection. |
| GetEnumerator() : IEnumerator{<>} | public | Returns an enumerator that iterates through the collection. |
| GetIntersection() : IList{<>} | public | Returns the items of this set that are also in the given collection. |
| GetUnion() : IList{<>} | public | Returns the items of this set and the items of the given collection. |
| Remove() : Boolean | public | Removes the first occurrence of a specific item from the set. |
public class SimplePair<> : System.IComparable, System.IComparable<>, System.IEquatable<>
Represents a pair of elements.
The type of the second element of the pair.
| Name | Access | Summary |
|---|---|---|
| SimplePair<>() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| First : <> | public | Gets the first element of the pair. |
| Second : <> | public | Gets the second element of the pair. |
| Name | Access | Summary |
|---|---|---|
| CompareTo() : Int32 | public | Compares the current object with another object of the same type. |
| CompareTo() : Int32 | public | Compares this instance to a specified object and returns an indication of their relative values. |
| Equals() : Boolean | public | Indicates whether the current object is equal to another object of the same type. |
| Equals() : Boolean | public | Determines whether the specified object is equal to the current object. |
| GetHashCode() : Int32 | public | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation. |
| Type | Summary |
|---|---|
| Job.JobStatus | Job status. |
| Type | Summary |
|---|---|
| JobDispatcher.JobDispatcherEventHandler | Delegate for the job dispatcher events. |
| Type | Summary |
|---|---|
| Job | Base class for jobs. |
| JobDispatcher | Base class for job dispatchers. |
| JobPool | Simple job pool. |
nestedPublic enumeration Job.JobStatus
Job status.
Job status.
| Field | Summary |
|---|---|
| Aborted | The job has been aborted. |
| Completed | The job completed successfully. |
| Pending | The job is waiting to be processed. |
| Retrying | The job is in retrying. |
| Running | The job is currently running. |
nestedPublic delegate JobDispatcher.JobDispatcherEventHandler
Delegate for the job dispatcher events.
Delegate for the job dispatcher events.
public abstract class JobDispatcher
Base class for job dispatchers.
Manages the job dispatcher lifecycle.
| Name | Access | Summary |
|---|---|---|
| JobDispatcher() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| _dispatcherCategory : String | protected | The category of the dispatcher used for tracing. |
| _dispatcherSwitch : TraceSwitch | protected | The trace switch used for tracing. |
| _jobPool : JobPool | protected | The job pool associated with this dispatcher. |
| Name | Access | Summary |
|---|---|---|
| AreJobsSuspended : Boolean | public | Gets wether job dispatching is suspended or not. |
| IsRunning : Boolean | public | Gets wether the job dispatcher is running or not. |
| NbMaxConcurrentJobs : Int32 | protected | Gets the maximum number of concurrent jobs. |
| NbMaxRetries : Int32 | protected | Gets the maximum number of retries for a job. |
| RetryTimeSpan : Int32 | protected | Gets the time span the dispatcher must wait before retrying a job that has failed. |
| WaitTimeSpan : Int32 | protected | Gets the time span the dispatcher must wait when there is nothing to do. |
| Name | Access | Summary |
|---|---|---|
| AddJob() : Void | public | Adds a job to be handled by this dispatcher. |
| ExecuteJob() : Void | protected | Called when a job must be executed by the dispatcher. |
| OnAbortJob() : Void | protected | Called when a job is aborted by the dispatcher. |
| OnDispatchJobs() : Void | protected | Called before dispatching jobs. |
| OnPreStart() : Void | protected | Called before the dispatcher starts. |
| PauseJobs() : Void | public | Pauses the dispatching of jobs. |
| Restart() : Void | protected | Restarts the job dispatcher. |
| ResumeJobs() : Void | public | Resumes the dispatching of jobs. |
| ShutDown() : Void | public | Shuts down the dispatcher without blocking. |
| Start() : Void | public | Starts the job dispatcher. |
| Stop() : Boolean | public | Stops the job dispatcher. |
| WakeUp() : Void | public | Forces the job dispatcher to wake up if it is sleeping. |
public class Job
Base class for jobs.
Base class for jobs.
| Name | Access | Summary |
|---|---|---|
| Job() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Data : Object | public | Gets the data associated with this job. |
| LastException : Exception | public | Gets or sets the last exception caused by this job. |
| Status : JobStatus | public | Gets or sets the status of this job. |
| Name | Access | Summary |
|---|
public class JobPool : System.Collections.IEnumerable
Simple job pool.
Simple job pool.
| Name | Access | Summary |
|---|---|---|
| JobPool() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| Count : Int32 | public | Gets the numbers of jobs in the pool. |
| Name | Access | Summary |
|---|---|---|
| AddJob() : Void | public | Adds a job to the pool. |
| Contains() : Boolean | public | Determines whether the pool contains a specific job. |
| GetEnumerator() : IEnumerator | public | Returns an enumerator that iterates through the pool. |
| GetNextJob() : Job | public | Returns the next job and removes it from the pool. |
| HasJobs() : Boolean | public | Returns true if there is at least one job in the pool, false otherwise. |
| Type | Summary |
|---|---|
| IExpression | This interface is the base for all of the expression evaluation objects. |
| Type | Summary |
|---|---|
| AdditionalFunctionEventHandler |
| Type | Summary |
|---|---|
| AdditionalFunctionEventArgs | Event Handling for Additional Functions |
| ExpressionEval | This class will evaluate boolean and mathmatical expressions |
| FunctionEval | This class provides functionality for evaluating functions |
public interface IExpression
This interface is the base for all of the expression evaluation objects.
This interface is the base for all of the expression evaluation objects.
| Name | Access | Summary |
|---|---|---|
| Expression : String | public |
| Name | Access | Summary |
|---|---|---|
| Evaluate() : Object | public |
public delegate AdditionalFunctionEventHandler
public class AdditionalFunctionEventArgs : EventArgs
Event Handling for Additional Functions
Event Handling for Additional Functions
| Name | Access | Summary |
|---|---|---|
| AdditionalFunctionEventArgs() | public | This is the only constructor |
| Name | Access | Summary |
|---|---|---|
| FunctionFound : Boolean | public | If false, this property will cause an exception to be thrown due to the function not being known be the evaluator. |
| Name : String | public | This is the name of the additional function |
| ReturnValue : Object | public | The return value of the custom function. This routine will automatically set FunctionFound to true if ReturnValue != null; |
| Name | Access | Summary |
|---|---|---|
| GetParameters() : Object[] | public | This method will return an array of objects that are parameters. |
public class FunctionEval : DevInstinct.ExternalLibraries.ExpressionEvaluation.IExpression
This class provides functionality for evaluating functions
This class provides functionality for evaluating functions
| Name | Access | Summary |
|---|---|---|
| FunctionEval() | public | Default Constructor |
| FunctionEval() | public | Initializes the Expression Property |
| Name | Access | Summary |
|---|---|---|
| Expression : String | public | Gets or sets the expression to be evaluated |
| Name | Access | Summary |
|---|---|---|
| AdditionalFunctionHelper() : Object | protected | This method helps fire the event for any function not intercepted internally |
| Case() : Object | public | Executes a case/when statement |
| ClearVariable() : Void | public | Clear's a variable's value |
| DisableFunction() : Void | public | Disables a function to prevents its calling by the expression. |
| EnableFunction() : Void | public | Enable a disabled function |
| Evaluate() : Object | public | Evaluates the Expression |
| Evaluate() : Object | public | Evaluates a string expression of a function |
| Evaluate() : Object | public | Evaluates a string expression of a function |
| Iif() : Object | public | Does the work for the IIF function |
| Replace() : String | public | This routine will replace functions existing in the Expression property with thier respective values |
| Replace() : String | public | |
| Replace() : String | public | This routine will replace functions existing in a input string with thier respective values |
| ReplaceEx() : String | public | Since the static replace will not allow a second Replace(string), Replace(ex) will do so with this instance (so that variables will work) |
| SetVariable() : Void | public | Sets a variable's value |
| ToString() : String | public | gets a string representation of this expression |
public class ExpressionEval : DevInstinct.ExternalLibraries.ExpressionEvaluation.IExpression
This class will evaluate boolean and mathmatical expressions
This class will evaluate boolean and mathmatical expressions
| Name | Access | Summary |
|---|---|---|
| ExpressionEval() | public | Default Constructor |
| ExpressionEval() | public | Constructor with string |
| Name | Access | Summary |
|---|---|---|
| Expression : String | public | Gets or sets the expression to be evaluated. |
| Name | Access | Summary |
|---|---|---|
| ClearVariable() : Void | public | Clear's a variable's value |
| DisableFunction() : Void | public | Disables a function to prevents its calling by the expression. |
| EnableFunction() : Void | public | Enable a disabled function |
| Evaluate() : Object | public | Evaluates the expression |
| Evaluate() : Object | public | Static version of the Expression Evaluator |
| Evaluate() : Object | public | Static version of the Expression Evaluator |
| EvaluateBool() : Boolean | public | Evaluates the expression |
| EvaluateDouble() : Double | public | Evaluates the expression |
| EvaluateInt() : Int32 | public | Evaluates the expression |
| EvaluateLong() : Int64 | public | Evaluates the expression |
| SetVariable() : Void | public | Sets a variable's value |
| ToString() : String | public | gets a string representation of this expression |
| Type | Summary |
|---|---|
| IContext<> | |
| IExceptionHandler | Mandatory interface of a custom exception handler. |
| Type | Summary |
|---|---|
| ArgumentValidationOptions | Specifies the options that can be applied to argument validation. |
| DefaultExceptionHandler.Options | Specifies the behavior of the default exception handler. |
| SoaCode | Specifies the SOA codes. |
| Type | Summary |
|---|---|
| ArgumentValidation | Common validation routines for argument validation. |
| DefaultExceptionHandler | Provides default exception handling, which consist of writing the exceptions to a trace source. |
| ExceptionManager | Core class of the exception handling mechanism. |
| SoaCodeAttribute | Attribute used to associate a SOA code to the target. |
| SoaContext | Provides thread-sensitive context for SOA codes. |
| SoaContextScope | Automatically manages the scope of a given SOA context. |
| SoaEnumException<> | Strongly-typed exception class for enumeration code object. |
| SoaException | Service Oriented Architecture exception class. |
| SoaExceptionCollection | Exception class used to collect many errors. |
| SoaNamespaceAttribute | Used to assign a SOA namespace to the target. |
| SoaSoapExtension | Extension used to handle unhandled SOA exceptions. |
public interface IContext<>
| Name | Access | Summary |
|---|---|---|
| Data : <> | public | |
| HasData : Boolean | public |
| Name | Access | Summary |
|---|---|---|
| Clear() : Void | public | |
| Enter() : Void | public | |
| Exit() : <> | public |
public interface IExceptionHandler
Mandatory interface of a custom exception handler.
Mandatory interface of a custom exception handler.
| Name | Access | Summary |
|---|---|---|
| HandleException() : Void | public | Method called by the Exception Manager when the handling of an exception is required. |
public enumeration ArgumentValidationOptions
Specifies the options that can be applied to argument validation.
Specifies the options that can be applied to argument validation.
| Field | Summary |
|---|---|
| All | Null references, null and empty strings and null and empty arrays will be detected. |
| EmptyArray | Null and empty arrays will be detected. |
| EmptyString | Null and empty strings will be detected. |
| InvalidEnumValue | Null (by boxing if not nullable) and invalid enum values will be detected. |
| None | No validation will be made. |
| NullReference | Null references will be detected. |
nestedPublic enumeration DefaultExceptionHandler.Options
Specifies the behavior of the default exception handler.
Specifies the behavior of the default exception handler.
| Field | Summary |
|---|---|
| None | Traces only an exception message. |
| Verbose | Traces rich information about an exception, including stack trace and inner exceptions. |
public enumeration SoaCode
Specifies the SOA codes.
Specifies the SOA codes.
| Field | Summary |
|---|---|
| Client | Indicates a client error. |
| Context | Indicates a SOA context-dependent error. |
| Server | Indicates a server error. |
public class SoaContext : DevInstinct.Soa.IContext<>[[DevInstinct.Soa.SoaCode, DevInstinct, Version=1.0.0.0, Culture=neutral, PublicKeyToken=176698ea059ea153]]
Provides thread-sensitive context for SOA codes.
Provides thread-sensitive context for SOA codes.
| Name | Access | Summary |
|---|---|---|
| CurrentContext : SoaContext | public | Gets the SOA context for the current thread. |
| Data : SoaCode | public | Gets the SOA code which represents the current context. |
| HasData : Boolean | public | Gets a value that indicates whether a context has been entered and that Data can be called. |
| Name | Access | Summary |
|---|---|---|
| Clear() : Void | public | Clears the thread SOA context. |
| Enter() : Void | public | Enters a new SOA context. |
| Exit() : SoaCode | public | Exits the current SOA context. |
public class SoaContextScope : System.IDisposable
Automatically manages the scope of a given SOA context.
Designed to be used within a "using" statement.
| Name | Access | Summary |
|---|---|---|
| SoaContextScope() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Dispose() : Void | public | Exits the current SOA context. |
| Finalize() : Void | protected | Destructor. |
public abstract class ExceptionManager
Core class of the exception handling mechanism.
A desktop or service application can register to the ExceptionManager to handle unexpected exceptions thru the UnhandledExceptionEventHandler event handler. An ASP application can use the Application_Error event to pass the unhandled exceptions to the HandleUnhandledException method. A Web Service can use the ProcessMessage of a SOAPExtension to pass the unhandled exceptions to the HandleUnhandledException method. A method can call HandleException to handle an exception thru the exception handlers. Adding and removing handlers can be done thru the configuration file (see DevInstinct.Configuration.ExceptionHandlersSection) or by code thru the AddHandler and RemoveHandler methods.
| Name | Access | Summary |
|---|---|---|
| AddHandler() : Void | public | Adds an exception handler to the Exception Manager. |
| HandleException() : Void | public | Invokes the exception handlers to handle a specific exception. |
| HandleUnhandledException() : Void | public | Invokes the exception handlers to handle an exception that must be considered unhandled. |
| Initialize() : Void | public | This method can be called to force the initialization of the ExceptionManager class. |
| RemoveHandler() : Boolean | public | Removes an exception handler from the Exception Manager. |
| UnhandledExceptionEventHandler() : Void | public | Represents the method that will handle the event triggered by an exception that is not handled by the application domain. |
public class SoaException : ApplicationException, System.Runtime.Serialization.ISerializable
Service Oriented Architecture exception class.
This type has the following attributes: System.SerializableAttribute
There is symmetry between the SoaException and the SoapException. SoaException.Code | SoapException.Code SoaException.SubCode | SoapException.SubCode.Code SoaException.Message | SoapException.Message
| Name | Access | Summary |
|---|---|---|
| SoaException() | public | Constructor. |
| SoaException() | public | Constructor. |
| SoaException() | public | Constructor. |
| SoaException() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| _codeObject : Object | protected | Supplier of SOA code information. |
| Name | Access | Summary |
|---|---|---|
| Code : SoaCode | public | Gets the SOA code. |
| CodeObject : Object | public | Gets the supplier of SOA code information. |
| CodeObjectType : Type | public | Gets the type of the SOA code information supplier. |
| IntCode : Int32 | public | Gets the integer value of the SOA code information supplier. |
| Message : String | public | Gets a message that describes the current exception, in the caller's current culture. |
| MessageArguments : Object[] | public | Gets the arguments used to format the exception message. |
| SubCode : XmlQualifiedName | public | Gets the SOA sub code. |
| Name | Access | Summary |
|---|---|---|
| InitializeCode() : Void | public | Initializes the SOA code of the exception. |
| WrapFrameworkException() : SoaException | public | Wraps a .NET framework in a SOA exception. |
public class SoaEnumException<> : SoaException, System.Runtime.Serialization.ISerializable
Strongly-typed exception class for enumeration code object.
This type has the following attributes: System.SerializableAttribute
Enumeration type.
| Name | Access | Summary |
|---|---|---|
| SoaEnumException<>() | public | Constructor. |
| SoaEnumException<>() | public | Constructor. |
| SoaEnumException<>() | public | Constructor. |
| SoaEnumException<>() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| _codeObject : Object | protected | (from DevInstinct.Soa.SoaException) Supplier of SOA code information. |
| Name | Access | Summary |
|---|---|---|
| Code : SoaCode | public | (from DevInstinct.Soa.SoaException) Gets the SOA code. |
| CodeObject : Object | public | (from DevInstinct.Soa.SoaException) Gets the supplier of SOA code information. |
| CodeObjectType : Type | public | (from DevInstinct.Soa.SoaException) Gets the type of the SOA code information supplier. |
| EnumSubCode : <> | public | Gets the SOA Sub Code as an enum value. |
| IntCode : Int32 | public | (from DevInstinct.Soa.SoaException) Gets the integer value of the SOA code information supplier. |
| Message : String | public | (from DevInstinct.Soa.SoaException) Gets a message that describes the current exception, in the caller's current culture. |
| MessageArguments : Object[] | public | (from DevInstinct.Soa.SoaException) Gets the arguments used to format the exception message. |
| SubCode : XmlQualifiedName | public | (from DevInstinct.Soa.SoaException) Gets the SOA sub code. |
| Name | Access | Summary |
|---|---|---|
| InitializeCode() : Void | public | (from DevInstinct.Soa.SoaException) Initializes the SOA code of the exception. |
public class SoaExceptionCollection : SoaEnumException
Exception class used to collect many errors.
This type has the following attributes: System.SerializableAttribute
A SoaExceptionCollection must not have an InnerException constructor: the collection itself must contains all the inners exceptions.
| Name | Access | Summary |
|---|---|---|
| SoaExceptionCollection() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| _codeObject : Object | protected | (from DevInstinct.Soa.SoaException) Supplier of SOA code information. |
| Name | Access | Summary |
|---|---|---|
| Code : SoaCode | public | Gets the SOA code. |
| CodeObject : Object | public | (from DevInstinct.Soa.SoaException) Gets the supplier of SOA code information. |
| CodeObjectType : Type | public | (from DevInstinct.Soa.SoaException) Gets the type of the SOA code information supplier. |
| EnumSubCode : CommonEnum | public | (from DevInstinct.Soa.SoaEnumException<>) Gets the SOA Sub Code as an enum value. |
| Exceptions : IDictionary | public | Returns the dictionary that contains the references (keys) and exceptions (values). |
| IntCode : Int32 | public | (from DevInstinct.Soa.SoaException) Gets the integer value of the SOA code information supplier. |
| Message : String | public | (from DevInstinct.Soa.SoaException) Gets a message that describes the current exception, in the caller's current culture. |
| MessageArguments : Object[] | public | (from DevInstinct.Soa.SoaException) Gets the arguments used to format the exception message. |
| SubCode : XmlQualifiedName | public | (from DevInstinct.Soa.SoaException) Gets the SOA sub code. |
| Name | Access | Summary |
|---|---|---|
| Add() : Void | public | Adds an exception to the collection. |
| InitializeCode() : Void | public | (from DevInstinct.Soa.SoaException) Initializes the SOA code of the exception. |
public class SoaCodeAttribute : ValueAttribute
Attribute used to associate a SOA code to the target.
Attribute used to associate a SOA code to the target.
| Name | Access | Summary |
|---|---|---|
| SoaCodeAttribute() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Code : SoaCode | public | Gets or sets the SOA code. |
| Name | Access | Summary |
|---|---|---|
| GetCode() : SoaCode | public | Resolves an object attributes and returns its associated SOA code. |
| GetValue() : <> | protected | (from DevInstinct.ValueAttribute) Returns the strongly-typed value. |
| SetValue() : Void | protected | (from DevInstinct.ValueAttribute) Sets the strongly-typed value. |
public class SoaSoapExtension : SoapExtension
Extension used to handle unhandled SOA exceptions.
Also patch the MustUnderstand attribute.
| Name | Access | Summary |
|---|---|---|
| SoaSoapExtension() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| GetInitializer() : Object | public | Allows the SOAP extension to initialize data specific to a class implementing an XML Web service at a one time performance cost. |
| GetInitializer() : Object | public | Allows the SOAP extension to initialize data specific to an XML Web service method using an attribute applied to the XML Web service method at a one time performance cost. |
| HandleUnhandledException() : Void | protected | Handles unhandled SOA exceptions. |
| Initialize() : Void | public | Allows the SOAP extension to initialize itself using the data cached in the GetInitializer method. |
| ProcessMessage() : Void | public | Allows a SOAP extension to receive a SoapMessage to process at each SoapMessageStage. |
public class DefaultExceptionHandler : DevInstinct.Soa.IExceptionHandler
Provides default exception handling, which consist of writing the exceptions to a trace source.
Provides default exception handling, which consist of writing the exceptions to a trace source.
| Name | Access | Summary |
|---|---|---|
| DefaultExceptionHandler() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| TraceSourceNameSuffix : String | public | Trace source name suffix of an exception handler. |
| Name | Access | Summary |
|---|---|---|
| Name : String | public | Gets the name of the exception handler. |
| TraceSourceName : String | public | Gets the name of the trace source associated to the exception handler. |
| Name | Access | Summary |
|---|
public abstract class ArgumentValidation
ArgumentValidation uses the argument index in its method to find the argument name. This strategy prevents the hardcoding of argument names in parameters to ArgumentValidation methods, which is unsafe for code security when obfuscation (without string encoding) is used.
| Name | Access | Summary |
|---|---|---|
| Check() : Void | public | Throws an exception if any of the given arguments fails the specified validations. |
| Check() : Void | public | Throws an exception if any of the given arguments is null or of 0 length in the case of a string or an array. |
| CheckByIndex() : Void | public | Throws an exception if the given argument fails the specified validations. |
| CheckType() : Void | public | Throws an exception if the given argument is not of the specified type. |
| GetInvalidParameterException() : CommonEnum} | public | Returns a SOA invalid parameter exception. |
| GetInvalidParameterException() : CommonEnum} | public | Returns a SOA invalid parameter exception. |
public class SoaNamespaceAttribute : ValueAttribute
Used to assign a SOA namespace to the target.
Used to assign a SOA namespace to the target.
| Name | Access | Summary |
|---|---|---|
| SoaNamespaceAttribute() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Namespace : String | public | Gets or sets the namespace. |
| Name | Access | Summary |
|---|---|---|
| GetNamespace() : String | public | Resolves an object attributes and returns its associated namespace. |
| GetValue() : <> | protected | (from DevInstinct.ValueAttribute) Returns the strongly-typed value. |
| SetValue() : Void | protected | (from DevInstinct.ValueAttribute) Sets the strongly-typed value. |
| Type | Summary |
|---|---|
| IsoDate | ISO 8601 Date class. |
| IsoDateTime | ISO 8601 DateTime class. |
| IsoDouble | Represents a Floating Point number format similar to ISO 6093. |
| IsoTime | ISO 8601 Time class. |
public class IsoDateTime : CustomDateTime
ISO 8601 DateTime class.
ISO 8601 DateTime class.
| Name | Access | Summary |
|---|---|---|
| IsoDateTime() | public | Default constructor. |
| IsoDateTime() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| DateTime : DateTime | public | (from DevInstinct.CustomDateTime<>) Gets or sets the DateTime value. |
| Format : String | public | Gets the DateTime format. |
| Name | Access | Summary |
|---|---|---|
| GetShortUtcOffset() : String | public | Returns the coordinated universal time (UTC) offset, without the seconds, for the specified local time. |
| GetTypeCode() : TypeCode | public | (from DevInstinct.CustomDateTime<>) Returns the TypeCode for this instance. |
| ToBoolean() : Boolean | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToByte() : Byte | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToChar() : Char | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToDateTime() : DateTime | public | (from DevInstinct.CustomDateTime<>) Returns the current DateTime object. |
| ToDecimal() : Decimal | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToDouble() : Double | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt16() : Int16 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt32() : Int32 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt64() : Int64 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToSByte() : SByte | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToSingle() : Single | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation. |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation using the specified culture-specific format information. |
| ToType() : Object | public | (from DevInstinct.CustomDateTime<>) Converts the current DateTime object to an object of a specified type. |
| ToUInt16() : UInt16 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToUInt32() : UInt32 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToUInt64() : UInt64 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
public class IsoTime : CustomDateTime
ISO 8601 Time class.
ISO 8601 Time class.
| Name | Access | Summary |
|---|---|---|
| IsoTime() | public | Default constructor. |
| IsoTime() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| DateTime : DateTime | public | Clears the date and sets the DateTime value. |
| Format : String | public | Gets the DateTime format. |
| Name | Access | Summary |
|---|---|---|
| ClearDate() : DateTime | public | Sets the date to 1900-01-01 (default for SQL Server) for a DateTime. |
| GetTypeCode() : TypeCode | public | (from DevInstinct.CustomDateTime<>) Returns the TypeCode for this instance. |
| Parse() : IsoTime | public | Converts the specified string representation of a time to its ISO time equivalent. |
| Parse() : IsoTime | public | Converts the specified string representation of a time to its ISO time equivalent using the specified culture-specific format information. |
| ToBoolean() : Boolean | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToByte() : Byte | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToChar() : Char | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToDateTime() : DateTime | public | (from DevInstinct.CustomDateTime<>) Returns the current DateTime object. |
| ToDecimal() : Decimal | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToDouble() : Double | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt16() : Int16 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt32() : Int32 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt64() : Int64 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToSByte() : SByte | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToSingle() : Single | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToString() : String | public | (from DevInstinct.CustomDateTime<>) Converts the value of this instance to its equivalent string representation. |
| ToString() : String | public | (from DevInstinct.CustomDateTime<>) Converts the value of this instance to its equivalent string representation using the specified culture-specific format information. |
| ToType() : Object | public | (from DevInstinct.CustomDateTime<>) Converts the current DateTime object to an object of a specified type. |
| ToUInt16() : UInt16 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToUInt32() : UInt32 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToUInt64() : UInt64 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
public class IsoDate : CustomDateTime
ISO 8601 Date class.
ISO 8601 Date class.
| Name | Access | Summary |
|---|---|---|
| IsoDate() | public | Default constructor. |
| IsoDate() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| DateTime : DateTime | public | Clears the time and sets the DateTime value. |
| Format : String | public | Gets the DateTime format. |
| Name | Access | Summary |
|---|---|---|
| ClearTime() : DateTime | public | Sets the hour to 00:00:00 (default for SQL Server) for a DateTime. |
| GetTypeCode() : TypeCode | public | (from DevInstinct.CustomDateTime<>) Returns the TypeCode for this instance. |
| Parse() : IsoDate | public | Converts the specified string representation of a date to its ISO date equivalent. |
| Parse() : IsoDate | public | Converts the specified string representation of a date to its ISO date equivalent using the specified culture-specific format information. |
| ToBoolean() : Boolean | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToByte() : Byte | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToChar() : Char | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToDateTime() : DateTime | public | (from DevInstinct.CustomDateTime<>) Returns the current DateTime object. |
| ToDecimal() : Decimal | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToDouble() : Double | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt16() : Int16 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt32() : Int32 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt64() : Int64 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToSByte() : SByte | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToSingle() : Single | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToString() : String | public | (from DevInstinct.CustomDateTime<>) Converts the value of this instance to its equivalent string representation. |
| ToString() : String | public | (from DevInstinct.CustomDateTime<>) Converts the value of this instance to its equivalent string representation using the specified culture-specific format information. |
| ToType() : Object | public | (from DevInstinct.CustomDateTime<>) Converts the current DateTime object to an object of a specified type. |
| ToUInt16() : UInt16 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToUInt32() : UInt32 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToUInt64() : UInt64 | public | (from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException. |
public class IsoDouble : System.IConvertible
Represents a Floating Point number format similar to ISO 6093.
That is, this double is always serialized with a dot as a decimal separator and it doesn't use thousands separators.
| Name | Access | Summary |
|---|---|---|
| IsoDouble() | public | Default constructor. |
| IsoDouble() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| GetTypeCode() : TypeCode | public | Returns the TypeCode for this instance. |
| Parse() : IsoDouble | public | Converts the specified string representation of a double to its ISO double equivalent. |
| ToBoolean() : Boolean | public | |
| ToByte() : Byte | public | |
| ToChar() : Char | public | |
| ToDateTime() : DateTime | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToDecimal() : Decimal | public | |
| ToDouble() : Double | public | Returns the current double. |
| ToInt16() : Int16 | public | |
| ToInt32() : Int32 | public | |
| ToInt64() : Int64 | public | |
| ToSByte() : SByte | public | |
| ToSingle() : Single | public | |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation. |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation using the specified culture-specific format information. |
| ToType() : Object | public | Converts the current DateTime object to an object of a specified type. |
| ToUInt16() : UInt16 | public | |
| ToUInt32() : UInt32 | public | |
| ToUInt64() : UInt64 | public |
| Type | Summary |
|---|---|
| CacheUtil | Provides utilities for caching. |
public abstract class CacheUtil
Provides utilities for caching.
Provides utilities for caching.
| Name | Access | Summary |
|---|---|---|
| GetCacheKey() : String | public | Returns a key based on the given object's string representation and the calling method. |
| Type | Summary |
|---|---|
| ICustomDateTime | Interface exposed by an object that implements a custom DateTime with fixed formatting. |
| IKeyElement | Interface exposed by an object that can be identified by a unique key. |
| Type | Summary |
|---|---|
| ApplicationTypes | Specifies the types of .NET applications. |
| Type | Summary |
|---|---|
| ValueChangedEventHandler | Represents the method that will handle a value changed events. |
| Type | Summary |
|---|---|
| ApplicationInfo | Retrieves application information for any type of application. |
| BaseNameAttribute | Used to assign a base name to the target. |
| ComparablePattern | Represents a regular expression pattern that can be compared to objects. If the object matches the pattern, they are considered equals. |
| CustomDateTime<> | Base class for custom DateTime with fixed formatting. |
| CustomDateTimeConverter<> | Provides a type converter to convert custom date and time objects to and from various other representations. |
| DelegateUtil | Offers extended delegate functionalities. |
| EvaluableString<> | Represents a string expression than can be evaluated to a single value. |
| QuotedString | Represents a double-quoted string. |
| ValueAttribute | Provides base functionality for a single value attribute. |
| Variant | Behaves like a Variant type. |
public interface ICustomDateTime
Interface exposed by an object that implements a custom DateTime with fixed formatting.
Interface exposed by an object that implements a custom DateTime with fixed formatting.
| Name | Access | Summary |
|---|---|---|
| DateTime : DateTime | public | Gets or sets the DateTime value. |
| Format : String | public | Gets the DateTime format. |
public interface IKeyElement
Interface exposed by an object that can be identified by a unique key.
Interface exposed by an object that can be identified by a unique key.
| Name | Access | Summary |
|---|---|---|
| GetElementKey() : Object | public | Gets a unique key for this element. |
public enumeration ApplicationTypes
Specifies the types of .NET applications.
Specifies the types of .NET applications.
| Field | Summary |
|---|---|
| Asp | Active Server Pages hosted application. |
| Dll | Dynamic-Linked Library. |
| Exe | Excecutable. |
public delegate ValueChangedEventHandler
Represents the method that will handle a value changed events.
True to accept the change, false to discard it.
public abstract class CustomDateTime<> : DevInstinct.ICustomDateTime, System.IConvertible
Base class for custom DateTime with fixed formatting.
Using the ICustomDateTime as a base interface and a constraint allows the class to simulate type-parameter derivation à la C++.
| Name | Access | Summary |
|---|---|---|
| CustomDateTime<>() | public | Default constructor. |
| CustomDateTime<>() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| DateTime : DateTime | public | Gets or sets the DateTime value. |
| Format : String | public | Gets the DateTime format. |
| Name | Access | Summary |
|---|---|---|
| GetTypeCode() : TypeCode | public | Returns the TypeCode for this instance. |
| Parse() : <> | public | Converts the specified string representation of a date and time to its custom date time equivalent. |
| Parse() : <> | public | Converts the specified string representation of a date and time to its custom date time equivalent using the specified culture-specific format information. |
| ToBoolean() : Boolean | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToByte() : Byte | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToChar() : Char | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToDateTime() : DateTime | public | Returns the current DateTime object. |
| ToDecimal() : Decimal | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToDouble() : Double | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt16() : Int16 | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt32() : Int32 | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToInt64() : Int64 | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToSByte() : SByte | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToSingle() : Single | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation. |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation using the specified culture-specific format information. |
| ToType() : Object | public | Converts the current DateTime object to an object of a specified type. |
| ToUInt16() : UInt16 | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToUInt32() : UInt32 | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
| ToUInt64() : UInt64 | public | This conversion is not supported. Attempting to do so throws an InvalidCastException. |
public class ComparablePattern : System.IComparable
Represents a regular expression pattern that can be compared to objects. If the object matches the pattern, they are considered equals.
Represents a regular expression pattern that can be compared to objects. If the object matches the pattern, they are considered equals.
| Name | Access | Summary |
|---|---|---|
| ComparablePattern() | public | Constructor. |
| ComparablePattern() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Pattern : String | public | Gets the regular expression pattern. |
| Name | Access | Summary |
|---|---|---|
| CompareTo() : Int32 | public | Compares the pattern with the string representation of another object. |
| ToString() : String | public | Returns a String that represents the regular expression pattern. |
public class ValueAttribute : Attribute
Provides base functionality for a single value attribute.
An attribute class can't be generic, this is why templates methods are used here.
| Name | Access | Summary |
|---|---|---|
| ValueAttribute() | public | Constructor. |
| Name | Access | Summary |
|---|
| Name | Access | Summary |
|---|---|---|
| GetAttributeValue() : <> | protected | Resolves an object attributes and returns its associated value. |
| GetValue() : <> | protected | Returns the strongly-typed value. |
| SetValue() : Void | protected | Sets the strongly-typed value. |
public abstract class ApplicationInfo
Retrieves application information for any type of application.
Supports Exe, Asp and Dll applications.
| Name | Access | Summary |
|---|---|---|
| ApplicationInfoFile : String | public | Gets the full path of the application info configuration file. |
| ApplicationName : String | public | Gets the name of the application. |
| ApplicationType : ApplicationTypes | public | Gets the type of the application. |
| DirectoryName : String | public | Gets the directory of the application. |
| Name | Access | Summary |
|---|---|---|
| GetApplicationInfoSchemaStream() : Stream | public | Gets the ApplicationInfo's schemas as a stream. |
public class QuotedString : System.IConvertible
Represents a double-quoted string.
Represents a double-quoted string.
| Name | Access | Summary |
|---|---|---|
| QuotedString() | public | Default constructor. |
| QuotedString() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| String : String | public | Gets or sets the value of the quoted string. |
| Name | Access | Summary |
|---|---|---|
| GetTypeCode() : TypeCode | public | Returns the TypeCode for this instance. |
| Parse() : QuotedString | public | Parses a double-quoted string and produces a new QuotedString for that string. |
| ToBoolean() : Boolean | public | |
| ToByte() : Byte | public | |
| ToChar() : Char | public | |
| ToDateTime() : DateTime | public | |
| ToDecimal() : Decimal | public | |
| ToDouble() : Double | public | |
| ToInt16() : Int16 | public | |
| ToInt32() : Int32 | public | |
| ToInt64() : Int64 | public | |
| ToSByte() : SByte | public | |
| ToSingle() : Single | public | |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation. |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation using the specified culture-specific format information. |
| ToType() : Object | public | |
| ToUInt16() : UInt16 | public | |
| ToUInt32() : UInt32 | public | |
| ToUInt64() : UInt64 | public |
public class BaseNameAttribute : ValueAttribute
Used to assign a base name to the target.
A base name is the root name of the item the target duplicates.
| Name | Access | Summary |
|---|---|---|
| BaseNameAttribute() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| BaseName : String | public | Gets or sets the base name. |
| Name | Access | Summary |
|---|---|---|
| GetBaseName() : String | public | Resolves an object attributes and returns its associated namespace. |
| GetValue() : <> | protected | (from DevInstinct.ValueAttribute) Returns the strongly-typed value. |
| SetValue() : Void | protected | (from DevInstinct.ValueAttribute) Sets the strongly-typed value. |
public class CustomDateTimeConverter<> : DateTimeConverter
Provides a type converter to convert custom date and time objects to and from various other representations.
Strangely, DateTimeConverter doesn't support converting to/from DateTime. This converter supports it.
| Name | Access | Summary |
|---|---|---|
| CustomDateTimeConverter<>() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| CanConvertFrom() : Boolean | public | Gets a value indicating whether this converter can convert an object in the given source type to a custom date and time using the specified context. |
| CanConvertTo() : Boolean | public | Gets a value indicating whether this converter can convert a custom date and time to the given destination type using the context. |
| ConvertFrom() : Object | public | Converts the given value object to a custom date and time. |
| ConvertTo() : Object | public | Converts the given custom date and time to the specified type, using the arguments. |
public abstract class DelegateUtil
Offers extended delegate functionalities.
Delegates can't be used as generic type parameters, this is why the Invoke methods use strongly-typed parameters.
| Name | Access | Summary |
|---|---|---|
| Invoke() : Void | public | Invokes a FileSystemEventHandler delegate synchronously or asynchronously. |
| Invoke() : Void | public | Invokes a RenamedEventHandler delegate synchronously or asynchronously. |
public class Variant
Behaves like a Variant type.
Provides implict operators for automatic type conversion.
| Name | Access | Summary |
|---|---|---|
| Variant() | public | Default Constructor. |
| Variant() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| IsNull : Boolean | public | Indicates whether the value contained in the Variant is null. |
| IsString : Boolean | public | Indicates whether the value contained in the Variant is a string. |
| Type : Type | public | Gets the type of the managed value. |
| Value : Object | public | Gets or sets the boxed value managed as a Variant. |
| Name | Access | Summary |
|---|---|---|
| ToString() : String | public | Returns a String that represents the managed value. |
public class EvaluableString<> : QuotedString, System.IConvertible
Represents a string expression than can be evaluated to a single value.
Uses the expression evaluation classes from http://codeproject.com/csharp/expressionevaluator.asp.
| Name | Access | Summary |
|---|---|---|
| EvaluableString<>() | public | Default constructor. |
| EvaluableString<>() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| String : String | public | (from DevInstinct.QuotedString) Gets or sets the value of the quoted string. |
| Name | Access | Summary |
|---|---|---|
| Evaluate() : Object | public | Evaluates the string's expression. |
| GetTypeCode() : TypeCode | public | (from DevInstinct.QuotedString) Returns the TypeCode for this instance. |
| Parse() : EvaluableString{<>} | public | Parses an evaluable string and produces a new instance of this class. |
| ToBoolean() : Boolean | public | (from DevInstinct.QuotedString) |
| ToByte() : Byte | public | (from DevInstinct.QuotedString) |
| ToChar() : Char | public | (from DevInstinct.QuotedString) |
| ToDateTime() : DateTime | public | (from DevInstinct.QuotedString) |
| ToDecimal() : Decimal | public | (from DevInstinct.QuotedString) |
| ToDouble() : Double | public | (from DevInstinct.QuotedString) |
| ToInt16() : Int16 | public | (from DevInstinct.QuotedString) |
| ToInt32() : Int32 | public | (from DevInstinct.QuotedString) |
| ToInt64() : Int64 | public | (from DevInstinct.QuotedString) |
| ToSByte() : SByte | public | (from DevInstinct.QuotedString) |
| ToSingle() : Single | public | (from DevInstinct.QuotedString) |
| ToString() : String | public | Converts the value of this instance to its equivalent string representation. |
| ToString() : String | public | (from DevInstinct.QuotedString) Converts the value of this instance to its equivalent string representation using the specified culture-specific format information. |
| ToType() : Object | public | (from DevInstinct.QuotedString) |
| ToUInt16() : UInt16 | public | (from DevInstinct.QuotedString) |
| ToUInt32() : UInt32 | public | (from DevInstinct.QuotedString) |
| ToUInt64() : UInt64 | public | (from DevInstinct.QuotedString) |
| Type | Summary |
|---|---|
| Singleton<> | Manages the single instance of a class. |
public abstract class Singleton<>
Manages the single instance of a class.
See http://www.yoda.arachsys.com/csharp/singleton.html.
| Name | Access | Summary |
|---|---|---|
| Instance : <> | public | The single instance of the class. |
| Name | Access | Summary |
|---|
| Type | Summary |
|---|---|
| CorrelationScope | Automatically manages the trace correlation for a logical operation with a specified identity on a thread. |
| DebugSource | Provides a set of methods and properties that help you trace the execution of your code in DEBUG builds. |
| DependentSourceSwitch | Source switch that implements dependencies toward the levels of other source switches. |
| EventTraceSource | Provides a set of methods and properties that help you trace the execution of your code with specialized event objects. |
| TraceEventTypeAttribute | Attribute used to associate a trace event type to the target. |
public class TraceEventTypeAttribute : ValueAttribute
Attribute used to associate a trace event type to the target.
Attribute used to associate a trace event type to the target.
| Name | Access | Summary |
|---|---|---|
| TraceEventTypeAttribute() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| EventType : TraceEventType | public | Gets or sets the trace event type. |
| Name | Access | Summary |
|---|---|---|
| GetEventType() : TraceEventType | public | Resolves an object attributes and returns its associated trace event type. |
| GetValue() : <> | protected | (from DevInstinct.ValueAttribute) Returns the strongly-typed value. |
| SetValue() : Void | protected | (from DevInstinct.ValueAttribute) Sets the strongly-typed value. |
public class EventTraceSource
Provides a set of methods and properties that help you trace the execution of your code with specialized event objects.
Provides a set of methods and properties that help you trace the execution of your code with specialized event objects.
| Name | Access | Summary |
|---|---|---|
| EventTraceSource() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| TraceEvent() : Void | public | Calls the TraceEvent method of each trace listener, specifying the event severity and the numeric trace identifier. |
| TraceEvent() : Void | public | Calls the TraceEvent method of each trace listener, specifying the event severity and the numeric trace identifier. |
| TraceEvent() : Void | public | Calls the TraceEvent method of each trace listener, specifying the event severity and the numeric trace identifier. |
| TraceEvent() : Void | public | Calls the TraceEvent method of each trace listener, specifying the event severity and the numeric trace identifier. |
public class CorrelationScope : System.IDisposable
Automatically manages the trace correlation for a logical operation with a specified identity on a thread.
Designed to be used within a "using" statement.
| Name | Access | Summary |
|---|---|---|
| CorrelationScope() | public | Starts a logical operation with the specified identity on a thread. |
| Name | Access | Summary |
|---|---|---|
| CorrelationManager : CorrelationManager | public | Gets the correlation manager for the current thread. |
| Name | Access | Summary |
|---|---|---|
| Finalize() : Void | protected | Destructor. |
public class DependentSourceSwitch : SourceSwitch
Source switch that implements dependencies toward the levels of other source switches.
TODO: this class is used as a prototype class and is not functionnal. TODO: prabably remove from solution.
| Name | Access | Summary |
|---|---|---|
| DependentSourceSwitch() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| ApplicationSourceSwitch : SourceSwitch | public | System-wide source switch that can be used as the root master switch for dependent source switches. |
| Name | Access | Summary |
|---|
public class DebugSource : TraceSource
Provides a set of methods and properties that help you trace the execution of your code in DEBUG builds.
EventDebugSource should usually be used instead of DebugSource.
| Name | Access | Summary |
|---|---|---|
| DebugSource() | public | Initializes a new instance of the TraceSource class, using the specified the name for the source. |
| DebugSource() | public | Initializes a new instance of the TraceSource class, using the specified the name for the source and the default source level at which tracing is to occur. |
| Name | Access | Summary |
|---|
| Name | Access | Summary |
|---|---|---|
| TraceData() : Void | public | Calls the corresponding TraceData methods on the trace listeners, providing a data object and specifying the severity and identity to be associated with the trace. |
| TraceData() : Void | public | Calls the corresponding TraceData methods on the trace listeners, providing an array of data objects and specifying the severity and identity to be associated with the trace. |
| TraceEvent() : Void | public | Calls the TraceEvent method of each trace listener, specifying the event severity and the numeric trace identifier. |
| TraceEvent() : Void | public | Calls the corresponding TraceEvent methods in the trace listeners, providing a message and specifying the event severity and a numeric trace identifier. |
| TraceEvent() : Void | public | Calls the corresponding TraceEvent methods in the trace listeners, providing an argument array and format information and specifying the event severity and a numeric trace identity. |
| TraceInformation() : Void | public | Calls the TraceEvent method of each trace listener to write an information trace, specifying the message to write. |
| TraceInformation() : Void | public | Calls the TraceEvent methods in the trace listeners to write an information trace, specifying an array of objects and formatting information. |
| Type | Summary |
|---|---|
| JobDispatcherSample | Job dispatcher sample. |
public class JobDispatcherSample
Job dispatcher sample.
Job dispatcher sample.
| Name | Access | Summary |
|---|---|---|
| JobDispatcherSample() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| RunSample() : Void | public | Call this method to run the sample. |
| Type | Summary |
|---|---|
| DirectoryUtil | Offers extended directory functionalities. |
| FileChangedWatcher | Listens to the file system change notifications and raises an event when a file in a directory changes in any ways. |
| FileUtil | Offers extended file functionalities. |
| SingleEventFileWatcher | Listens to the file system change notifications and raises events when a directory, or file in a directory, changes. |
public class FileChangedWatcher : System.IDisposable
Listens to the file system change notifications and raises an event when a file in a directory changes in any ways.
Listens to the file system change notifications and raises an event when a file in a directory changes in any ways.
| Name | Access | Summary |
|---|---|---|
| FileChangedWatcher() | public | Constructor. |
| FileChangedWatcher() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| IsAsync : Boolean | public | Gets or sets a value indicating whether the Changed event is raised asynchronously. |
| SingleEventFileWatcher : SingleEventFileWatcher | public | The SingleEventFileWatcher used to watch over files and directories. |
| Name | Access | Summary |
|---|---|---|
| Dispose() : Void | public | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
public abstract class FileUtil
Offers extended file functionalities.
Offers extended file functionalities.
| Name | Access | Summary |
|---|---|---|
| WaitForUnlock() : Void | public | Waits until a given file is unlocked or that the specified amount of time has passed. |
public abstract class DirectoryUtil
Offers extended directory functionalities.
Offers extended directory functionalities.
| Name | Access | Summary |
|---|---|---|
| DeleteFiles() : String} | public | Deletes multiple files from a directory based on the supplied pattern. |
| DeleteFiles() : String} | public | Deletes multiple files from a directory based on the supplied pattern and lifetime. |
| GetCleanFullname() : String | public | Gets the full path of the directory, terminated by a directory separator character. |
public class SingleEventFileWatcher : System.IDisposable
Listens to the file system change notifications and raises events when a directory, or file in a directory, changes.
SingleEventFileWatcher is a fix for the FileSystemWatcher, which often raises many events when a file is changed. SingleEventFileWatcher waits a little bit before raising the events, so that multiple events raised at relatively the same time are not duplicated. SingleEventFileWatcher sends only the most recent event. As an example, if a file is deleted and then immediately re-created (which also generates FileSystemWatcher Changed events), only the Changed event is raised.
| Name | Access | Summary |
|---|---|---|
| SingleEventFileWatcher() | public | Constructor. |
| SingleEventFileWatcher() | public | Constructor. |
| SingleEventFileWatcher() | public | Constructor. |
| SingleEventFileWatcher() | public | Constructor. |
| SingleEventFileWatcher() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| FileSystemWatcher : FileSystemWatcher | public | The FileSystemWatcher used to watch over files and directories. |
| IsAsync : Boolean | public | Gets or sets a value indicating whether the events are raised asynchronously. |
| Name | Access | Summary |
|---|---|---|
| Dispose() : Void | public | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Type | Summary |
|---|---|
| XmlSchemaExporterExtension | Extends the functionnality of the XmlSchemaExporter class. |
| XmlStreamSerializer<> | Handles simple xml typed-serialization. |
| XmlTextSerializer<> | Handles simple xml typed-serialization. |
public class XmlSchemaExporterExtension : XmlSchemaExporter
Extends the functionnality of the XmlSchemaExporter class.
Extends the functionnality of the XmlSchemaExporter class.
| Name | Access | Summary |
|---|---|---|
| XmlSchemaExporterExtension() | public | Default constructor. |
| XmlSchemaExporterExtension() | public | Constructore. |
| Name | Access | Summary |
|---|---|---|
| Schemas : XmlSchemas | public | Gets the xml schema collection used by the exporter. |
| Name | Access | Summary |
|---|---|---|
| ExportTypeMapping() : XmlSchema | public | Adds a schema for a .NET Framework type to the xml schema collection used by the exporter. |
| ExportTypeMapping() : XmlSchema | public | Adds a schema for a .NET Framework type to the xml schema collection used by the exporter. |
public class XmlTextSerializer<>
Handles simple xml typed-serialization.
Xml-attributed class to serialize.
| Name | Access | Summary |
|---|---|---|
| XmlTextSerializer<>() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| Deserialize() : <> | public | Deserializes the XML document using the given schema for validation. |
| Deserialize() : <> | public | Deserializes the XML document using the type's schema for validation. |
| Deserialize() : <> | public | Deserializes the XML document using the type's schema for validation. |
| Serialize() : Void | public | Serializes the specified typed-data and writes the XML document to a file using a XmlTextWriter. |
| Serialize() : Void | public | Serializes the specified typed-data and writes the XML document to a file using a XmlTextWriter. |
public class XmlStreamSerializer<>
Handles simple xml typed-serialization.
Xml-attributed class to serialize.
| Name | Access | Summary |
|---|---|---|
| XmlStreamSerializer<>() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| Deserialize() : <> | public | Deserializes the XML document using the type's schema for validation. |
| Type | Summary |
|---|---|
| CommonEnum | Enum for the Common.resx file. |
public enumeration CommonEnum
Enum for the Common.resx file.
Generated by DevInstinct Inc.
| Field | Summary |
|---|---|
| Configuration | 1; Configuration file error. |
| ErrorCollection | 2; Many errors. |
| ExceptionHandler | 3; Exception Handler '{0}' failed to initialize. |
| Framework | 4; .NET framework error. |
| InvalidParameter | 5; Parameter '{0}' is invalid. |
| SoaContextNotEntered | 8; No SOA context has been entered. |
| Undefined | 6; Unknown error. |
| Unexpected | 7; Unexpected error. |
| XmlFileDeserializationFailed | 9; Xml deserialization failed for file '{0}'. |
| XmlFileSerializationFailed | 10; Xml serialization failed for file '{0}'. |
| XmlStreamDeserializationFailed | 11; Xml stream deserialization failed. |
| XmlValidation | 12; Xml validation failed at line '{0}' position '{1}'. |
| Type | Summary |
|---|---|
| ApplicationConfiguration | Provides access to configuration files and configuration sections in one unified class. |
| ArgumentValidationElement | Argument validation element of a configuration file. |
| ExceptionHandlerElement | Exception handler element of a configuration file. |
| ExceptionHandlerElement.PropertyNames | Contains constants for the names of the configuration properties used by this configuration element. |
| ExceptionHandlerElementCollection | Exception handlers collection of a configuration file. |
| ExceptionHandlersSection | Exception handlers section of a configuration file. |
| ExceptionHandlersSection.PropertyNames | Contains constants for the names of the configuration properties used by this configuration element. |
| NamedConfigurationElement | Simple named element of a configuration file. |
| NamedConfigurationElement.PropertyNames | Contains constants for the names of the configuration properties used by this configuration element. |
| OptimizationSection | Optimization section of a configuration file. |
| OptimizationSection.PropertyNames | Contains constants for the names of the configuration properties used by this configuration element. |
| TConfigurationElementCollection<> | Base collection class for configuration element that can be uniquely identified with a key. |
| XmlApplicationSection | Application root section of a XML serialization-based configuration file. |
| XmlConfigurationSection | Alternate root section of a XML serialization-based configuration file structure. |
| XmlNamedElement<> | Simple named element of a XML serialization-based configuration file. |
| XmlNamedElementCollection<> | Base collection class for XML serialization-based configuration elements that can be uniquely identified with a name. |
| XmlSectionElement | Section element of a XML serialization-based configuration file. |
public class TConfigurationElementCollection<> : ConfigurationElementCollection, System.Collections.ICollection, System.Collections.IEnumerable
Base collection class for configuration element that can be uniquely identified with a key.
Type of the configuration elements stored in the collection.
| Name | Access | Summary |
|---|---|---|
| TConfigurationElementCollection<>() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|
| Name | Access | Summary |
|---|---|---|
| Add() : Void | public | Adds a ConfigurationElement to this ConfigurationElementCollection. |
| CreateNewElement() : ConfigurationElement | protected | Creates a new ConfigurationElement of the appropriate type. |
| Get() : <> | public | Returns the ConfigurationElement with the specified key. |
| GetElementKey() : Object | protected | Gets the element key for a specified configuration element. |
| Remove() : Void | public | Removes a ConfigurationElement from the collection. |
public class ExceptionHandlerElementCollection : TConfigurationElementCollection
Exception handlers collection of a configuration file.
Exception handlers collection of a configuration file.
| Name | Access | Summary |
|---|---|---|
| ExceptionHandlerElementCollection() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|
| Name | Access | Summary |
|---|---|---|
| Add() : Void | public | (from DevInstinct.Configuration.TConfigurationElementCollection<>) |
| CreateNewElement() : ConfigurationElement | protected | (from DevInstinct.Configuration.TConfigurationElementCollection<>) Creates a new ConfigurationElement of the appropriate type. |
| Get() : ExceptionHandlerElement | public | (from DevInstinct.Configuration.TConfigurationElementCollection<>) Returns the ConfigurationElement with the specified key. |
| GetElementKey() : Object | protected | (from DevInstinct.Configuration.TConfigurationElementCollection<>) Gets the element key for a specified configuration element. |
| Remove() : Void | public | (from DevInstinct.Configuration.TConfigurationElementCollection<>) |
public class NamedConfigurationElement : ConfigurationElement, DevInstinct.IKeyElement
Simple named element of a configuration file.
Simple named element of a configuration file.
| Name | Access | Summary |
|---|---|---|
| NamedConfigurationElement() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| Name : String | public | Gets or sets the name associated with this element. |
| Name | Access | Summary |
|---|
nestedPublic class NamedConfigurationElement.PropertyNames
Contains constants for the names of the configuration properties used by this configuration element.
Contains constants for the names of the configuration properties used by this configuration element.
| Name | Access | Summary |
|---|---|---|
| NamedConfigurationElement.PropertyNames() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| NAME : String | public | Name of the name configuration property. |
| Name | Access | Summary |
|---|
public class ExceptionHandlerElement : NamedConfigurationElement, DevInstinct.IKeyElement
Exception handler element of a configuration file.
Example when the element is part of a collection. <exceptionHandlers> <add name="Form" type="DevInstinct.Soa.DefaultExceptionHandler, DevInstinct" initializeData="None"/> </exceptionHandlers>
| Name | Access | Summary |
|---|---|---|
| ExceptionHandlerElement() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| InitializeData : String | public | XML attributes containing the initialization data used by the exception handler constructor. |
| Name : String | public | (from DevInstinct.Configuration.NamedConfigurationElement) Gets or sets the name associated with this element. |
| Type : String | public | XML attributes containing the assembly qualified name of the exception handler class. |
| Name | Access | Summary |
|---|
nestedPublic class ExceptionHandlerElement.PropertyNames : PropertyNames
Contains constants for the names of the configuration properties used by this configuration element.
Contains constants for the names of the configuration properties used by this configuration element.
| Name | Access | Summary |
|---|---|---|
| ExceptionHandlerElement.PropertyNames() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| INITIALIZE_DATA : String | public | Name of the initialize data configuration property. |
| TYPE : String | public | Name of the type configuration property. |
| Name | Access | Summary |
|---|
public class ArgumentValidationElement : ConfigurationElement
Argument validation element of a configuration file.
<argumentValidation enabled="false"/>
| Name | Access | Summary |
|---|---|---|
| ArgumentValidationElement() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| Enabled : Boolean | public | XML attribute which indicates if argument validation is enabled (true) or not (false). |
| Name | Access | Summary |
|---|
public class ExceptionHandlersSection : ConfigurationSection
Exception handlers section of a configuration file.
By default, the section contains the "Default" exception handler, which is an instance of the DevInstinct.DefaultExceptionHandler class in Verbose mode.
| Name | Access | Summary |
|---|---|---|
| ExceptionHandlersSection() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| SECTION_NAME : String | public | Name of the section in the configuration file. |
| Name | Access | Summary |
|---|---|---|
| Handlers : ExceptionHandlerElementCollection | public | XML implicit collection of exception handlers elements. |
| Name | Access | Summary |
|---|---|---|
| InitializeDefault() : Void | protected | Initialize the "Default" exception handler. |
nestedPublic class ExceptionHandlersSection.PropertyNames
Contains constants for the names of the configuration properties used by this configuration element.
Contains constants for the names of the configuration properties used by this configuration element.
| Name | Access | Summary |
|---|---|---|
| ExceptionHandlersSection.PropertyNames() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| COLLECTION : String | public | Name of the implicit collection configuration property. |
| Name | Access | Summary |
|---|
public class XmlNamedElement<> : System.IComparable<>
Simple named element of a XML serialization-based configuration file.
Type of the element.
| Name | Access | Summary |
|---|---|---|
| XmlNamedElement<>() | public | Constructor. |
| XmlNamedElement<>() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Name : String | public | XML attribute containing the name of the element. |
| Name | Access | Summary |
|---|
public class XmlSectionElement : XmlNamedElement
Section element of a XML serialization-based configuration file.
Section element of a XML serialization-based configuration file.
| Name | Access | Summary |
|---|---|---|
| XmlSectionElement() | public | Constructor. |
| XmlSectionElement() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| FileName : String | public | XML attribute containing the name of the file for the current section. |
| Name : String | public | (from DevInstinct.Configuration.XmlNamedElement<>) XML attribute containing the name of the element. |
| Name | Access | Summary |
|---|
public class OptimizationSection : ConfigurationSection
Optimization section of a configuration file.
<optimization> <argumentValidation enabled="false"/> </optimization>
| Name | Access | Summary |
|---|---|---|
| OptimizationSection() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| SECTION_NAME : String | public | Name of the section in the configuration file. |
| Name | Access | Summary |
|---|---|---|
| ArgumentValidation : ArgumentValidationElement | public | XML element containing information about argument validation optimization. |
| Name | Access | Summary |
|---|
nestedPublic class OptimizationSection.PropertyNames
Contains constants for the names of the configuration properties used by this configuration element.
Contains constants for the names of the configuration properties used by this configuration element.
| Name | Access | Summary |
|---|---|---|
| OptimizationSection.PropertyNames() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| ARGUMENT_VALIDATION : String | public | Name of the argument validation configuration property. |
| Name | Access | Summary |
|---|
public class XmlApplicationSection : XmlNamedElement
Application root section of a XML serialization-based configuration file.
<?xml version="1.0" encoding="utf-8"?> <application name="WordApplication" type="Dll" /> </code>
| Name | Access | Summary |
|---|---|---|
| XmlApplicationSection() | public | Constructor. |
| XmlApplicationSection() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| ApplicationType : ApplicationTypes | public | XML attribute containing the type of the application. |
| Name : String | public | (from DevInstinct.Configuration.XmlNamedElement<>) XML attribute containing the name of the element. |
| Namespace : String | public | XML namespace of this section. |
| Name | Access | Summary |
|---|
public abstract class XmlNamedElementCollection<>
Base collection class for XML serialization-based configuration elements that can be uniquely identified with a name.
Type of the XML serialization-based configuration elements stored in the collection.
| Name | Access | Summary |
|---|---|---|
| XmlNamedElementCollection<>() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| _elements : XmlNamedElement{<>}} | protected | List of XML serialization-based configuration elements. |
| Name | Access | Summary |
|---|---|---|
| GetElement() : <> | public | Gets a XML serialization-based configuration element by name. |
public class XmlConfigurationSection : XmlNamedElementCollection
Alternate root section of a XML serialization-based configuration file structure.
XmlMainSection is an alternative to the .NET configuration files when not using the DevInstinct.ApplicationInfo.ApplicationInfoFilename file configuration fix. TODO: enforce schema validation.
| Name | Access | Summary |
|---|---|---|
| XmlConfigurationSection() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| _elements : XmlSectionElement}} | protected | (from DevInstinct.Configuration.XmlNamedElementCollection<>) List of XML serialization-based configuration elements. |
| Namespace : String | public | XML namespace of this section. |
| Name | Access | Summary |
|---|---|---|
| Sections : XmlSectionElement}} | public | XML collection of section elements. |
| Name | Access | Summary |
|---|---|---|
| GetElement() : XmlSectionElement | public | (from DevInstinct.Configuration.XmlNamedElementCollection<>) Gets a XML serialization-based configuration element by name. |
public abstract class ApplicationConfiguration
Provides access to configuration files and configuration sections in one unified class.
Provides access to configuration files and configuration sections in one unified class.
| Name | Access | Summary |
|---|---|---|
| CreateApplicationSection() : Void | public | Creates the application configuration file. |
| GetApplicationSection() : XmlApplicationSection | public | Returns the application configuration section. |
| GetConfiguration() : Configuration | public | Opens the configuration file for the current application as a Configuration object. |
| GetSection() : <> | public | Returns the specified typed ConfigurationSection object. |
| GetSection() : <> | public | Returns the specified typed ConfigurationSection object. |
| Type | Summary |
|---|---|
| ParsingErrorCodesEnum | Enum for the ParsingErrorCodes.resx file. |
| Type | Summary |
|---|---|
| GrammarExpressionNode | Grammar node that represents an expression. |
| GrammarNode | Base class for grammar nodes. |
| GrammarTokenNode | Grammar node that represents a token (terminal). |
| RegexTokenizer | Emits tokens from an input string using a regular expression pattern as token-delimiter. |
| SLRParser | Simple LR Parser. |
| StringToken | Token class that stores the token kind and value as strings. |
| Token<> | Generic token class used to store token kind, value and position. |
public enumeration ParsingErrorCodesEnum
Enum for the ParsingErrorCodes.resx file.
Generated by DevInstinct Inc.
| Field | Summary |
|---|---|
| GrammarDuplicateRules | 54; Grammar error; duplicate rules: {0} |
| GrammarInvalidSyntax | 55; Grammar error; invalid syntax: {0} |
| GrammarRulesCanBeReduced | 53; Grammar error; these rules can be reduced: {0} |
| ParserExpectedEndOfInput | 56; End of input expected after: {0} |
| ParserUnexpectedEndOfInput | 57; End of input unexpected after: {0} |
| ParserUnexpectedInput | 52; Unexpected input: {0} |
public abstract class GrammarNode
Base class for grammar nodes.
Base class for grammar nodes.
| Name | Access | Summary |
|---|---|---|
| GrammarNode() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Kind : String | public | Gets the kind of the grammar node. |
| Name | Access | Summary |
|---|---|---|
| ToString() : String | public | Converts the value of this instance to its equivalent string representation. |
public class GrammarTokenNode : GrammarNode
Grammar node that represents a token (terminal).
Grammar node that represents a token (terminal).
| Name | Access | Summary |
|---|---|---|
| GrammarTokenNode() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Kind : String | public | (from DevInstinct.Parsing.GrammarNode) Gets the kind of the grammar node. |
| Token : StringToken | public | Gets the associated token. |
| Name | Access | Summary |
|---|---|---|
| ToString() : String | public | Converts the value of this instance to its equivalent string representation. |
public class RegexTokenizer : System.Collections.IEnumerable
Emits tokens from an input string using a regular expression pattern as token-delimiter.
This tokenizer can be used in a foreach statement or by calling GetNextToken.
| Name | Access | Summary |
|---|---|---|
| RegexTokenizer() | public | Constructor. |
| RegexTokenizer() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| GetEnumerator() : IEnumerator | public | Returns an enumerator that iterates through the string tokens. |
| GetNextToken() : StringToken | public | Gets the next string token in the input string. |
| Reset() : Void | public | Resets the tokenizer at the beginning of the input string. |
public class Token<>
Generic token class used to store token kind, value and position.
TKind will usually be string or an enumerated type. TValue will usually be string or byte.
| Name | Access | Summary |
|---|---|---|
| Token<>() | public | Constructor. |
| Token<>() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Kind : <> | public | Gets the kind of token this instance represents. |
| Position : Int32} | public | Gets the 0-based position at which the token was found in the original input data. Can be null if unavailable. |
| Value : <> | public | Gets the value of the token. |
| Name | Access | Summary |
|---|---|---|
| ToString() : String | public | Converts the value of this instance to its equivalent string representation. |
public class GrammarExpressionNode : GrammarNode
Grammar node that represents an expression.
Grammar node that represents an expression.
| Name | Access | Summary |
|---|---|---|
| GrammarExpressionNode() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Elements : GrammarNode} | public | Gets the list of elements that make up the expression. |
| Kind : String | public | (from DevInstinct.Parsing.GrammarNode) Gets the kind of the grammar node. |
| Name | Access | Summary |
|---|---|---|
| ToString() : String | public | (from DevInstinct.Parsing.GrammarNode) Converts the value of this instance to its equivalent string representation. |
public class StringToken : Token
Token class that stores the token kind and value as strings.
Mostly used for code readability.
| Name | Access | Summary |
|---|---|---|
| StringToken() | public | Constructor. |
| StringToken() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Kind : String | public | (from DevInstinct.Parsing.Token<>) Gets the kind of token this instance represents. |
| Position : Int32} | public | (from DevInstinct.Parsing.Token<>) Gets the 0-based position at which the token was found in the original input data. Can be null if unavailable. |
| Value : String | public | (from DevInstinct.Parsing.Token<>) Gets the value of the token. |
| Name | Access | Summary |
|---|---|---|
| ToString() : String | public | (from DevInstinct.Parsing.Token<>) Converts the value of this instance to its equivalent string representation. |
public class SLRParser
Simple LR Parser.
To understand what is a SLR Parser, see http://en.wikipedia.org/wiki/Simple_LR_parser. Note that this implementation is somewhat different from the suggested implementation above.
| Name | Access | Summary |
|---|---|---|
| SLRParser() | public | Constructor. |
| Name | Access | Summary |
|---|---|---|
| Parse() : GrammarNode | public | Parses an input' tokens and produces a grammar tree. Can return null if the input contains no token. |
| Type | Summary |
|---|---|
| XmlValidator | Provides schema validation of Xml documents |
public abstract class XmlValidator
Provides schema validation of Xml documents
Provides schema validation of Xml documents
| Name | Access | Summary |
|---|---|---|
| ValidateStream() : Void | public | Validates the given stream against the given schema. |
| ValidateStream() : Void | public | Validates the given stream against the given schemas. |
| ValidationEventHandler() : Void | public | Represents the method that handles the ValidationEventArgs. |
| Type | Summary |
|---|---|
| SchemaValidationAttribute | Initializes a new instance of the class. |
| ShemaValidationExtension | Initializes a new instance of the class. |
| SoapSchemaValidationAttribute | Enforces schema validation of incoming SOAP messages for the target method. |
| SoapSchemaValidationExtension | Provides schema validation of incoming SOAP messages. |
| SoapUtil | Provides utilities for the SOAP protocol. |
public class ShemaValidationExtension : SoapExtension
| Name | Access | Summary |
|---|---|---|
| ShemaValidationExtension() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| GetInitializer() : Object | public | |
| GetInitializer() : Object | public | |
| Initialize() : Void | public | |
| ProcessMessage() : Void | public |
public class SchemaValidationAttribute : SoapExtensionAttribute
| Name | Access | Summary |
|---|---|---|
| SchemaValidationAttribute() | public | Initializes a new instance of the class. |
| SchemaValidationAttribute() | public |
| Name | Access | Summary |
|---|---|---|
| Namespace : String | public | |
| SchemaLocation : String | public |
| Name | Access | Summary |
|---|---|---|
| ExtensionType : Type | public | |
| Priority : Int32 | public |
| Name | Access | Summary |
|---|
public class SoapSchemaValidationExtension : SoapExtension
Provides schema validation of incoming SOAP messages.
Provides schema validation of incoming SOAP messages.
| Name | Access | Summary |
|---|---|---|
| SoapSchemaValidationExtension() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| GetInitializer() : Object | public | Initializes data specific to a class implementing an XML Web service at a one time performance cost. |
| GetInitializer() : Object | public | Initialize data specific to an XML Web service method using an attribute applied to the XML Web service method at a one time performance cost. |
| Initialize() : Void | public | Initializes itself using the data cached in the GetInitializer(LogicalMethodInfo, SoapExtensionAttribute) method. |
| ProcessMessage() : Void | public | Receives a message to process at each message stage. |
public class SoapSchemaValidationAttribute : SoapExtensionAttribute
Enforces schema validation of incoming SOAP messages for the target method.
Enforces schema validation of incoming SOAP messages for the target method.
| Name | Access | Summary |
|---|---|---|
| SoapSchemaValidationAttribute() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| ExtensionType : Type | public | Gets the type of the SOAP extension. |
| Priority : Int32 | public | Gets or sets the priority of the SOAP extension. |
| Name | Access | Summary |
|---|
public abstract class SoapUtil
Provides utilities for the SOAP protocol.
Provides utilities for the SOAP protocol.
| Name | Access | Summary |
|---|---|---|
| GetEnvelopeSchema() : XmlSchema | public | Returns the SOAP envelope's schema. |
| GetEnvelopeSchemaStream() : Stream | public | Returns the SOAP envelope's schema as a stream. |
| Type | Summary |
|---|---|
| EnumResourceBuilder | Provides support for strongly-typed enum resources. |
| EnumResourceEventManager | Handles DTE events to keep the Enum resource files synchronized with the resx resource files. |
| EnumResourceStartValuePicker | Form used to get an Enum Resource start value. |
public class EnumResourceBuilder
Provides support for strongly-typed enum resources.
Provides support for strongly-typed enum resources.
| Name | Access | Summary |
|---|---|---|
| Create() : Void | public | Creates an enum resource file for the given resx document. |
| Create() : Void | public | Creates an enum resource file for the given resx project item. |
| Create() : Void | public | Creates enum resource files for the given selected items. |
| HasEnumResource() : Boolean | public | Indicates if the given document has an enum resource file associated to it. |
| HasEnumResource() : Boolean | public | Indicates if the given project item has an enum resource file associated to it. |
| IsValidResource() : Boolean | public | Indicates if the given document is a valid unlocalized resx file. |
| IsValidResource() : Boolean | public | Indicates if the given project item is a valid unlocalized resx file. |
| Rename() : Void | public | Renames the enum resource file of the given project item. |
public class EnumResourceEventManager
Handles DTE events to keep the Enum resource files synchronized with the resx resource files.
Class not thread-safe. Exceptions catched while handling events are displayed in message boxes.
| Name | Access | Summary |
|---|---|---|
| EnumResourceEventManager() | public | Constructor. Makes this Event Manager handle the events of the given DTE. |
| Name | Access | Summary |
|---|
public class EnumResourceStartValuePicker : Form, System.ComponentModel.IComponent, System.IDisposable, System.Windows.Forms.IDropTarget, System.ComponentModel.ISynchronizeInvoke, System.Windows.Forms.IWin32Window, System.Windows.Forms.IBindableComponent, System.Windows.Forms.IContainerControl
Form used to get an Enum Resource start value.
Form used to get an Enum Resource start value.
| Name | Access | Summary |
|---|---|---|
| EnumResourceStartValuePicker() | public | Initializes a new instance of the class. |
| Name | Access | Summary |
|---|---|---|
| Value : Int32 | public | The Enum Resource start value. |
| Name | Access | Summary |
|---|
| Name | Access | Summary |
|---|---|---|
| Dispose() : Void | protected |