DevInstinct Application Framework

Copyright (c) DevInstinct inc. All rights reserved.

E-mail DevInstinct

Namespace List

The namespaces specified in this document are:

NamespaceAssembly
DevInstinct.XmlDevInstinct
DevInstinctDevInstinct
DevInstinct.ParsingDevInstinct
DevInstinct.Threading.SamplesDevInstinct
DevInstinct.ThreadingDevInstinct
DevInstinct.IODevInstinct
DevInstinct.ConfigurationDevInstinct
DevInstinct.CollectionsDevInstinct
DevInstinct.ExternalLibraries.ExpressionEvaluationDevInstinct
DevInstinct.SoaDevInstinct
DevInstinct.Web.Services.ProtocolsDevInstinct
DevInstinct.Soa.ErrorCodesDevInstinct
DevInstinct.DiagnosticsDevInstinct
DevInstinct.IsoDevInstinct
DevInstinct.Xml.SerializationDevInstinct
DevInstinct.CachingDevInstinct
DevInstinct.WebDevInstinct
DevInstinct.ResourcesDevInstinct
DevInstinct.PatternsDevInstinct
DevInstinct.Resources.ToolsDevInstinct.Resources.Tools
DevInstinct.ResourcesDevInstinct.Resources.Tools

Namespace : DevInstinct.Web



DevInstinct.Web Type List

Classes

TypeSummary
HttpResponseUtil Utility methods for HTTP response.


DevInstinct.Web Classes

HttpResponseUtil Class

Summary

public abstract class HttpResponseUtil

Utility methods for HTTP response.

Remarks

Utility methods for HTTP response.

Method Members

NameAccessSummary
EndResponse() : Voidpublic Ends the given http response.
GetResponse() : HttpResponsepublic Gets the HttpResponse of the current context.
PrepareResponse() : Voidpublic Clears the given http response and sets the content type.
WriteFile() : Voidpublic Properly writes a file to the response stream.
WriteObject() : Voidpublic Properly serializes an object, with XmlSerializer, to the response stream.
WriteTypeSchema() : Voidpublic Properly serializes a type's xml schema to the response stream.

Namespace : DevInstinct.Resources



DevInstinct.Resources Type List

Classes

TypeSummary
GlobalResourceManager Manages resources system-wide for all types.

Classes

TypeSummary
ResXDataReader Reads ResXDataNode entries from a resource file.


DevInstinct.Resources Classes

GlobalResourceManager Class

Summary

public abstract class GlobalResourceManager

Manages resources system-wide for all types.

Remarks

Manages resources system-wide for all types.

Method Members

NameAccessSummary
GetManifestResourceStream() : Streampublic Loads the specified manifest resource from the calling assembly, in the calling method declaring type's namespace.
GetString() : Stringpublic Gets the value of the object-specified String resource for the current culture.
GetString() : Stringpublic Gets the value of the object-specified formatted resource for the current culture.
GetString() : Stringpublic Gets the value of the specified String resource for the current culture.
GetString() : Stringpublic Gets the value of the specified formatted resource for the current culture.

ResXDataReader Class

Summary

public class ResXDataReader

Reads ResXDataNode entries from a resource file.

Remarks

Reads ResXDataNode entries from a resource file.

Method Members

NameAccessSummary
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() : Booleanpublic Returns true if the given file name is a localized resource file name.

Namespace : DevInstinct.Collections



DevInstinct.Collections Type List

Enumerations

TypeSummary
CollectionEvents Specifies the events that can be raised by a dynamic collection.

Delegates

TypeSummary
CollectionEventHandler Represents the method that will handle collection events.
CollectionExceptionEventHandler<> Represents the method that will handle collection events.

Classes

TypeSummary
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.


DevInstinct.Collections Enumerations

CollectionEvents Enumeration

Summary

public enumeration CollectionEvents

Specifies the events that can be raised by a dynamic collection.

Remarks

Specifies the events that can be raised by a dynamic collection.

Enumeration Members

FieldSummary
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.


DevInstinct.Collections Delegates

CollectionEventHandler Delegate

Summary

public delegate CollectionEventHandler

Represents the method that will handle collection events.

Remarks

Collection events that occured.

CollectionExceptionEventHandler<> Delegate

Summary

public delegate CollectionExceptionEventHandler<>

Represents the method that will handle collection events.

Remarks

The item that caused the exception.



DevInstinct.Collections Classes

ArrayUtil Class

Summary

public abstract class ArrayUtil

Offers extended array functionalities.

Remarks

Offers extended array functionalities.

Method Members

NameAccessSummary
CreateArray() : <>[]public Creates an array of initialized objects.

ListEvent<> Class

Summary

public class ListEvent<> : List, System.Collections.Generic.IList<>, System.Collections.Generic.ICollection<>, System.Collections.Generic.IEnumerable<>, System.Collections.IEnumerable, System.Collections.IList, System.Collections.ICollection

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.

Remarks

The type of the items in the list.

Constructor Members

NameAccessSummary
ListEvent<>()publicInitializes a new instance of the class.

Property Members

NameAccessSummary
Item : <>public Gets or sets the element at the specified index and raises the CollectionEvents.ElementAdded event if an element is set.

Method Members

NameAccessSummary
Add() : Voidpublic Adds an object to the end of the Generic List and raises the CollectionEvents.ElementAdded event.
AddRange() : Voidpublic Adds the elements of the specified collection to the end of the Generic List and raises the CollectionEvents.ElementAdded event.
Clear() : Voidpublic Removes all elements from the Generic Listand raises the CollectionEvents.Cleared event.
Insert() : Voidpublic Inserts an element into the Generic List at the specified index and raises the CollectionEvents.ElementAdded event.
InsertRange() : Voidpublic Inserts the elements of a collection into the Generic List at the specified index and raises the CollectionEvents.ElementAdded event.
Remove() : Booleanpublic Removes the first occurrence of a specific object from the Generic List and raises the CollectionEvents.ElementRemoved event.
RemoveAll() : Int32public Removes the all the elements that match the conditions defined by the specified predicate and raises the CollectionEvents.ElementRemoved event.
RemoveAt() : Voidpublic Removes the element at the specified index of the Generic List and raises the CollectionEvents.ElementRemoved event.
RemoveRange() : Voidpublic Removes a range of elements from the Generic List and raises the CollectionEvents.ElementRemoved event.
Reverse() : Voidpublic Reverses the order of the elements in the entire Generic List and raises the CollectionEvents.Reordered event.
Reverse() : Voidpublic Reverses the order of the elements in the specified range and raises the CollectionEvents.Reordered event.
Sort() : Voidpublic Sorts the elements in the entire Generic List using the default comparer and raises the CollectionEvents.Reordered event.
Sort() : Voidpublic Sorts the elements in the entire Generic List using the specified comparer and raises the CollectionEvents.Reordered event.
Sort() : Voidpublic Sorts the elements in the entire Generic List using the specified Generic System.Comparison and raises the CollectionEvents.Reordered event.
Sort() : Voidpublic Sorts the elements in a range of elements in Generic List using the specified comparer and raises the CollectionEvents.Reordered event.

IndexedList<> Class

Summary

public class IndexedList<> : System.Collections.Generic.ICollection<>, System.Collections.Generic.IEnumerable<>, System.Collections.IEnumerable

Implements an indexed list.

Remarks

The items in the list must implement the IKeyElement interface and have unique keys.

Constructor Members

NameAccessSummary
IndexedList<>()publicInitializes a new instance of the class.

Property Members

NameAccessSummary
Count : Int32public Gets the number of elements contained in the indexed list.
IsReadOnly : Booleanpublic Gets a value indicating whether the indexed list is read-only.
Item : <>public Gets the value associated with the specified key.

Method Members

NameAccessSummary
Add() : Voidpublic Adds an item to the collection.
Add() : Voidpublic Adds an item to the collection.
Clear() : Voidpublic Removes all items from the indexed list.
Contains() : Booleanpublic Determines whether the indexed list contains a specific value.
ContainsKey() : Booleanpublic Determines whether the IndexedList contains the specified key.
CopyTo() : Voidpublic 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() : Booleanpublic Removes the given item from the indexed list.

ListComparer Class

Summary

public class ListComparer : System.Collections.IComparer

Compares two lists for equivalence.

Remarks

See the .NET class Comparer.

Constructor Members

NameAccessSummary
ListComparer()publicInitializes a new instance of the class.

Property Members

NameAccessSummary
Default : ListComparerpublic Represents an instance of ListComparer that is associated with the Thread.CurrentCulture of the current thread.

Method Members

NameAccessSummary
Compare() : Int32public 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.

SetCollection<> Class

Summary

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.

Remarks

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.

Constructor Members

NameAccessSummary
SetCollection<>()public Constructor.
SetCollection<>()public Constructor.

Property Members

NameAccessSummary
Count : Int32public Gets the number of elements contained in the set.
IsReadOnly : Booleanpublic Gets a value indicating whether the set is read-only.

Method Members

NameAccessSummary
Add() : Voidpublic Adds an item to the set.
Clear() : Voidpublic Removes all items from the set.
Contains() : Booleanpublic Determines whether the set contains a specific value.
CopyTo() : Voidpublic 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() : Booleanpublic Removes the first occurrence of a specific item from the set.

SimplePair<> Class

Summary

public class SimplePair<> : System.IComparable, System.IComparable<>, System.IEquatable<>

Represents a pair of elements.

Remarks

The type of the second element of the pair.

Constructor Members

NameAccessSummary
SimplePair<>()public Constructor.

Property Members

NameAccessSummary
First : <>public Gets the first element of the pair.
Second : <>public Gets the second element of the pair.

Method Members

NameAccessSummary
CompareTo() : Int32public Compares the current object with another object of the same type.
CompareTo() : Int32public Compares this instance to a specified object and returns an indication of their relative values.
Equals() : Booleanpublic Indicates whether the current object is equal to another object of the same type.
Equals() : Booleanpublic Determines whether the specified object is equal to the current object.
GetHashCode() : Int32public 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() : Stringpublic Converts the value of this instance to its equivalent string representation.

Namespace : DevInstinct.Threading



DevInstinct.Threading Type List

Enumerations

TypeSummary
Job.JobStatus Job status.

Delegates

TypeSummary
JobDispatcher.JobDispatcherEventHandler Delegate for the job dispatcher events.

Classes

TypeSummary
Job Base class for jobs.
JobDispatcher Base class for job dispatchers.
JobPool Simple job pool.


DevInstinct.Threading Enumerations

Job.JobStatus Enumeration

Summary

nestedPublic enumeration Job.JobStatus

Job status.

Remarks

Job status.

Enumeration Members

FieldSummary
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.


DevInstinct.Threading Delegates

JobDispatcher.JobDispatcherEventHandler Delegate

Summary

nestedPublic delegate JobDispatcher.JobDispatcherEventHandler

Delegate for the job dispatcher events.

Remarks

Delegate for the job dispatcher events.



DevInstinct.Threading Classes

JobDispatcher Class

Summary

public abstract class JobDispatcher

Base class for job dispatchers.

Remarks

Manages the job dispatcher lifecycle.

Constructor Members

NameAccessSummary
JobDispatcher()public Constructor.

Field Members

NameAccessSummary
_dispatcherCategory : Stringprotected The category of the dispatcher used for tracing.
_dispatcherSwitch : TraceSwitchprotected The trace switch used for tracing.
_jobPool : JobPoolprotected The job pool associated with this dispatcher.

Property Members

NameAccessSummary
AreJobsSuspended : Booleanpublic Gets wether job dispatching is suspended or not.
IsRunning : Booleanpublic Gets wether the job dispatcher is running or not.
NbMaxConcurrentJobs : Int32protected Gets the maximum number of concurrent jobs.
NbMaxRetries : Int32protected Gets the maximum number of retries for a job.
RetryTimeSpan : Int32protected Gets the time span the dispatcher must wait before retrying a job that has failed.
WaitTimeSpan : Int32protected Gets the time span the dispatcher must wait when there is nothing to do.

Method Members

NameAccessSummary
AddJob() : Voidpublic Adds a job to be handled by this dispatcher.
ExecuteJob() : Voidprotected Called when a job must be executed by the dispatcher.
OnAbortJob() : Voidprotected Called when a job is aborted by the dispatcher.
OnDispatchJobs() : Voidprotected Called before dispatching jobs.
OnPreStart() : Voidprotected Called before the dispatcher starts.
PauseJobs() : Voidpublic Pauses the dispatching of jobs.
Restart() : Voidprotected Restarts the job dispatcher.
ResumeJobs() : Voidpublic Resumes the dispatching of jobs.
ShutDown() : Voidpublic Shuts down the dispatcher without blocking.
Start() : Voidpublic Starts the job dispatcher.
Stop() : Booleanpublic Stops the job dispatcher.
WakeUp() : Voidpublic Forces the job dispatcher to wake up if it is sleeping.

Job Class

Summary

public class Job

Base class for jobs.

Remarks

Base class for jobs.

Constructor Members

NameAccessSummary
Job()public Constructor.

Property Members

NameAccessSummary
Data : Objectpublic Gets the data associated with this job.
LastException : Exceptionpublic Gets or sets the last exception caused by this job.
Status : JobStatuspublic Gets or sets the status of this job.

Method Members

NameAccessSummary

JobPool Class

Summary

public class JobPool : System.Collections.IEnumerable

Simple job pool.

Remarks

Simple job pool.

Constructor Members

NameAccessSummary
JobPool()publicInitializes a new instance of the class.

Property Members

NameAccessSummary
Count : Int32public Gets the numbers of jobs in the pool.

Method Members

NameAccessSummary
AddJob() : Voidpublic Adds a job to the pool.
Contains() : Booleanpublic Determines whether the pool contains a specific job.
GetEnumerator() : IEnumeratorpublic Returns an enumerator that iterates through the pool.
GetNextJob() : Jobpublic Returns the next job and removes it from the pool.
HasJobs() : Booleanpublic Returns true if there is at least one job in the pool, false otherwise.

Namespace : DevInstinct.ExternalLibraries.ExpressionEvaluation



DevInstinct.ExternalLibraries.ExpressionEvaluation Type List

Interfaces

TypeSummary
IExpression This interface is the base for all of the expression evaluation objects.

Delegates

TypeSummary
AdditionalFunctionEventHandler

Classes

TypeSummary
AdditionalFunctionEventArgs Event Handling for Additional Functions
ExpressionEval This class will evaluate boolean and mathmatical expressions
FunctionEval This class provides functionality for evaluating functions


DevInstinct.ExternalLibraries.ExpressionEvaluation Interfaces

IExpression Interface

Summary

public interface IExpression

This interface is the base for all of the expression evaluation objects.

Remarks

This interface is the base for all of the expression evaluation objects.

Property Members

NameAccessSummary
Expression : Stringpublic

Method Members

NameAccessSummary
Evaluate() : Objectpublic


DevInstinct.ExternalLibraries.ExpressionEvaluation Delegates

AdditionalFunctionEventHandler Delegate

Summary

public delegate AdditionalFunctionEventHandler



DevInstinct.ExternalLibraries.ExpressionEvaluation Classes

AdditionalFunctionEventArgs Class

Summary

public class AdditionalFunctionEventArgs : EventArgs

Event Handling for Additional Functions

Remarks

Event Handling for Additional Functions

Constructor Members

NameAccessSummary
AdditionalFunctionEventArgs()public This is the only constructor

Property Members

NameAccessSummary
FunctionFound : Booleanpublic If false, this property will cause an exception to be thrown due to the function not being known be the evaluator.
Name : Stringpublic This is the name of the additional function
ReturnValue : Objectpublic The return value of the custom function. This routine will automatically set FunctionFound to true if ReturnValue != null;

Method Members

NameAccessSummary
GetParameters() : Object[]public This method will return an array of objects that are parameters.

FunctionEval Class

Summary

public class FunctionEval : DevInstinct.ExternalLibraries.ExpressionEvaluation.IExpression

This class provides functionality for evaluating functions

Remarks

This class provides functionality for evaluating functions

Constructor Members

NameAccessSummary
FunctionEval()public Default Constructor
FunctionEval()public Initializes the Expression Property

Property Members

NameAccessSummary
Expression : Stringpublic Gets or sets the expression to be evaluated

Method Members

NameAccessSummary
AdditionalFunctionHelper() : Objectprotected This method helps fire the event for any function not intercepted internally
Case() : Objectpublic Executes a case/when statement
ClearVariable() : Voidpublic Clear's a variable's value
DisableFunction() : Voidpublic Disables a function to prevents its calling by the expression.
EnableFunction() : Voidpublic Enable a disabled function
Evaluate() : Objectpublic Evaluates the Expression
Evaluate() : Objectpublic Evaluates a string expression of a function
Evaluate() : Objectpublic Evaluates a string expression of a function
Iif() : Objectpublic Does the work for the IIF function
Replace() : Stringpublic This routine will replace functions existing in the Expression property with thier respective values
Replace() : Stringpublic
Replace() : Stringpublic This routine will replace functions existing in a input string with thier respective values
ReplaceEx() : Stringpublic 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() : Voidpublic Sets a variable's value
ToString() : Stringpublic gets a string representation of this expression

ExpressionEval Class

Summary

public class ExpressionEval : DevInstinct.ExternalLibraries.ExpressionEvaluation.IExpression

This class will evaluate boolean and mathmatical expressions

Remarks

This class will evaluate boolean and mathmatical expressions

Constructor Members

NameAccessSummary
ExpressionEval()public Default Constructor
ExpressionEval()public Constructor with string

Property Members

NameAccessSummary
Expression : Stringpublic Gets or sets the expression to be evaluated.

Method Members

NameAccessSummary
ClearVariable() : Voidpublic Clear's a variable's value
DisableFunction() : Voidpublic Disables a function to prevents its calling by the expression.
EnableFunction() : Voidpublic Enable a disabled function
Evaluate() : Objectpublic Evaluates the expression
Evaluate() : Objectpublic Static version of the Expression Evaluator
Evaluate() : Objectpublic Static version of the Expression Evaluator
EvaluateBool() : Booleanpublic Evaluates the expression
EvaluateDouble() : Doublepublic Evaluates the expression
EvaluateInt() : Int32public Evaluates the expression
EvaluateLong() : Int64public Evaluates the expression
SetVariable() : Voidpublic Sets a variable's value
ToString() : Stringpublic gets a string representation of this expression

Namespace : DevInstinct.Soa



DevInstinct.Soa Type List

Interfaces

TypeSummary
IContext<>
IExceptionHandler Mandatory interface of a custom exception handler.

Enumerations

TypeSummary
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.

Classes

TypeSummary
ArgumentValidationCommon 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.


DevInstinct.Soa Interfaces

IContext<> Interface

Summary

public interface IContext<>

Property Members

NameAccessSummary
Data : <>public
HasData : Booleanpublic

Method Members

NameAccessSummary
Clear() : Voidpublic
Enter() : Voidpublic
Exit() : <>public

IExceptionHandler Interface

Summary

public interface IExceptionHandler

Mandatory interface of a custom exception handler.

Remarks

Mandatory interface of a custom exception handler.

Method Members

NameAccessSummary
HandleException() : Voidpublic Method called by the Exception Manager when the handling of an exception is required.


DevInstinct.Soa Enumerations

ArgumentValidationOptions Enumeration

Summary

public enumeration ArgumentValidationOptions

Specifies the options that can be applied to argument validation.

Remarks

Specifies the options that can be applied to argument validation.

Enumeration Members

FieldSummary
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.

DefaultExceptionHandler.Options Enumeration

Summary

nestedPublic enumeration DefaultExceptionHandler.Options

Specifies the behavior of the default exception handler.

Remarks

Specifies the behavior of the default exception handler.

Enumeration Members

FieldSummary
None Traces only an exception message.
Verbose Traces rich information about an exception, including stack trace and inner exceptions.

SoaCode Enumeration

Summary

public enumeration SoaCode

Specifies the SOA codes.

Remarks

Specifies the SOA codes.

Enumeration Members

FieldSummary
Client Indicates a client error.
Context Indicates a SOA context-dependent error.
Server Indicates a server error.


DevInstinct.Soa Classes

SoaContext Class

Summary

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.

Remarks

Provides thread-sensitive context for SOA codes.

Property Members

NameAccessSummary
CurrentContext : SoaContextpublic Gets the SOA context for the current thread.
Data : SoaCodepublic Gets the SOA code which represents the current context.
HasData : Booleanpublic Gets a value that indicates whether a context has been entered and that Data can be called.

Method Members

NameAccessSummary
Clear() : Voidpublic Clears the thread SOA context.
Enter() : Voidpublic Enters a new SOA context.
Exit() : SoaCodepublic Exits the current SOA context.

SoaContextScope Class

Summary

public class SoaContextScope : System.IDisposable

Automatically manages the scope of a given SOA context.

Remarks

Designed to be used within a "using" statement.

Constructor Members

NameAccessSummary
SoaContextScope()public Constructor.

Method Members

NameAccessSummary
Dispose() : Voidpublic Exits the current SOA context.
Finalize() : Voidprotected Destructor.

ExceptionManager Class

Summary

public abstract class ExceptionManager

Core class of the exception handling mechanism.

Remarks

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.

Method Members

NameAccessSummary
AddHandler() : Voidpublic Adds an exception handler to the Exception Manager.
HandleException() : Voidpublic Invokes the exception handlers to handle a specific exception.
HandleUnhandledException() : Voidpublic Invokes the exception handlers to handle an exception that must be considered unhandled.
Initialize() : Voidpublic This method can be called to force the initialization of the ExceptionManager class.
RemoveHandler() : Booleanpublic Removes an exception handler from the Exception Manager.
UnhandledExceptionEventHandler() : Voidpublic Represents the method that will handle the event triggered by an exception that is not handled by the application domain.

SoaException Class

Summary

public class SoaException : ApplicationException, System.Runtime.Serialization.ISerializable

Service Oriented Architecture exception class.

This type has the following attributes: System.SerializableAttribute

Remarks

There is symmetry between the SoaException and the SoapException. SoaException.Code | SoapException.Code SoaException.SubCode | SoapException.SubCode.Code SoaException.Message | SoapException.Message

Constructor Members

NameAccessSummary
SoaException()public Constructor.
SoaException()public Constructor.
SoaException()public Constructor.
SoaException()public Constructor.

Field Members

NameAccessSummary
_codeObject : Objectprotected Supplier of SOA code information.

Property Members

NameAccessSummary
Code : SoaCodepublic Gets the SOA code.
CodeObject : Objectpublic Gets the supplier of SOA code information.
CodeObjectType : Typepublic Gets the type of the SOA code information supplier.
IntCode : Int32public Gets the integer value of the SOA code information supplier.
Message : Stringpublic 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 : XmlQualifiedNamepublic Gets the SOA sub code.

Method Members

NameAccessSummary
InitializeCode() : Voidpublic Initializes the SOA code of the exception.
WrapFrameworkException() : SoaExceptionpublic Wraps a .NET framework in a SOA exception.

SoaEnumException<> Class

Summary

public class SoaEnumException<> : SoaException, System.Runtime.Serialization.ISerializable

Strongly-typed exception class for enumeration code object.

This type has the following attributes: System.SerializableAttribute

Remarks

Enumeration type.

Constructor Members

NameAccessSummary
SoaEnumException<>()public Constructor.
SoaEnumException<>()public Constructor.
SoaEnumException<>()public Constructor.
SoaEnumException<>()public Constructor.

Field Members

NameAccessSummary
_codeObject : Objectprotected(from DevInstinct.Soa.SoaException) Supplier of SOA code information.

Property Members

NameAccessSummary
Code : SoaCodepublic(from DevInstinct.Soa.SoaException) Gets the SOA code.
CodeObject : Objectpublic(from DevInstinct.Soa.SoaException) Gets the supplier of SOA code information.
CodeObjectType : Typepublic(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 : Int32public(from DevInstinct.Soa.SoaException) Gets the integer value of the SOA code information supplier.
Message : Stringpublic(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 : XmlQualifiedNamepublic(from DevInstinct.Soa.SoaException) Gets the SOA sub code.

Method Members

NameAccessSummary
InitializeCode() : Voidpublic(from DevInstinct.Soa.SoaException) Initializes the SOA code of the exception.

SoaExceptionCollection Class

Summary

public class SoaExceptionCollection : SoaEnumException, System.Runtime.Serialization.ISerializable

Exception class used to collect many errors.

This type has the following attributes: System.SerializableAttribute

Remarks

A SoaExceptionCollection must not have an InnerException constructor: the collection itself must contains all the inners exceptions.

Constructor Members

NameAccessSummary
SoaExceptionCollection()public Constructor.

Field Members

NameAccessSummary
_codeObject : Objectprotected(from DevInstinct.Soa.SoaException) Supplier of SOA code information.

Property Members

NameAccessSummary
Code : SoaCodepublic Gets the SOA code.
CodeObject : Objectpublic(from DevInstinct.Soa.SoaException) Gets the supplier of SOA code information.
CodeObjectType : Typepublic(from DevInstinct.Soa.SoaException) Gets the type of the SOA code information supplier.
EnumSubCode : CommonEnumpublic(from DevInstinct.Soa.SoaEnumException<>) Gets the SOA Sub Code as an enum value.
Exceptions : IDictionarypublic Returns the dictionary that contains the references (keys) and exceptions (values).
IntCode : Int32public(from DevInstinct.Soa.SoaException) Gets the integer value of the SOA code information supplier.
Message : Stringpublic(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 : XmlQualifiedNamepublic(from DevInstinct.Soa.SoaException) Gets the SOA sub code.

Method Members

NameAccessSummary
Add() : Voidpublic Adds an exception to the collection.
InitializeCode() : Voidpublic(from DevInstinct.Soa.SoaException) Initializes the SOA code of the exception.

SoaCodeAttribute Class

Summary

public class SoaCodeAttribute : ValueAttribute

Attribute used to associate a SOA code to the target.

Remarks

Attribute used to associate a SOA code to the target.

Constructor Members

NameAccessSummary
SoaCodeAttribute()public Constructor.

Property Members

NameAccessSummary
Code : SoaCodepublic Gets or sets the SOA code.

Method Members

NameAccessSummary
GetCode() : SoaCodepublic Resolves an object attributes and returns its associated SOA code.
GetValue() : <>protected(from DevInstinct.ValueAttribute) Returns the strongly-typed value.
SetValue() : Voidprotected(from DevInstinct.ValueAttribute) Sets the strongly-typed value.

SoaSoapExtension Class

Summary

public class SoaSoapExtension : SoapExtension

Extension used to handle unhandled SOA exceptions.

Remarks

Also patch the MustUnderstand attribute.

Constructor Members

NameAccessSummary
SoaSoapExtension()publicInitializes a new instance of the class.

Method Members

NameAccessSummary
GetInitializer() : Objectpublic Allows the SOAP extension to initialize data specific to a class implementing an XML Web service at a one time performance cost.
GetInitializer() : Objectpublic 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() : Voidprotected Handles unhandled SOA exceptions.
Initialize() : Voidpublic Allows the SOAP extension to initialize itself using the data cached in the GetInitializer method.
ProcessMessage() : Voidpublic Allows a SOAP extension to receive a SoapMessage to process at each SoapMessageStage.

DefaultExceptionHandler Class

Summary

public class DefaultExceptionHandler : DevInstinct.Soa.IExceptionHandler

Provides default exception handling, which consist of writing the exceptions to a trace source.

Remarks

Provides default exception handling, which consist of writing the exceptions to a trace source.

Constructor Members

NameAccessSummary
DefaultExceptionHandler()public Constructor.

Field Members

NameAccessSummary
TraceSourceNameSuffix : Stringpublic Trace source name suffix of an exception handler.

Property Members

NameAccessSummary
Name : Stringpublic Gets the name of the exception handler.
TraceSourceName : Stringpublic Gets the name of the trace source associated to the exception handler.

Method Members

NameAccessSummary

ArgumentValidation Class

Summary

public abstract class ArgumentValidation

Common validation routines for argument validation.

Remarks

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.

Method Members

NameAccessSummary
Check() : Voidpublic Throws an exception if any of the given arguments fails the specified validations.
Check() : Voidpublic 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() : Voidpublic Throws an exception if the given argument fails the specified validations.
CheckType() : Voidpublic 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.

SoaNamespaceAttribute Class

Summary

public class SoaNamespaceAttribute : ValueAttribute

Used to assign a SOA namespace to the target.

Remarks

Used to assign a SOA namespace to the target.

Constructor Members

NameAccessSummary
SoaNamespaceAttribute()public Constructor.

Property Members

NameAccessSummary
Namespace : Stringpublic Gets or sets the namespace.

Method Members

NameAccessSummary
GetNamespace() : Stringpublic Resolves an object attributes and returns its associated namespace.
GetValue() : <>protected(from DevInstinct.ValueAttribute) Returns the strongly-typed value.
SetValue() : Voidprotected(from DevInstinct.ValueAttribute) Sets the strongly-typed value.

Namespace : DevInstinct.Iso



DevInstinct.Iso Type List

Classes

TypeSummary
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.


DevInstinct.Iso Classes

IsoDateTime Class

Summary

public class IsoDateTime : CustomDateTime, DevInstinct.ICustomDateTime, System.IConvertible

ISO 8601 DateTime class.

Remarks

ISO 8601 DateTime class.

Constructor Members

NameAccessSummary
IsoDateTime()public Default constructor.
IsoDateTime()public Constructor.

Property Members

NameAccessSummary
DateTime : DateTimepublic(from DevInstinct.CustomDateTime<>) Gets or sets the DateTime value.
Format : Stringpublic Gets the DateTime format.

Method Members

NameAccessSummary
GetShortUtcOffset() : Stringpublic Returns the coordinated universal time (UTC) offset, without the seconds, for the specified local time.
GetTypeCode() : TypeCodepublic(from DevInstinct.CustomDateTime<>) Returns the TypeCode for this instance.
ToBoolean() : Booleanpublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToByte() : Bytepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToChar() : Charpublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToDateTime() : DateTimepublic(from DevInstinct.CustomDateTime<>) Returns the current DateTime object.
ToDecimal() : Decimalpublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToDouble() : Doublepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt16() : Int16public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt32() : Int32public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt64() : Int64public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToSByte() : SBytepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToSingle() : Singlepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToString() : Stringpublic Converts the value of this instance to its equivalent string representation.
ToString() : Stringpublic Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.
ToType() : Objectpublic(from DevInstinct.CustomDateTime<>) Converts the current DateTime object to an object of a specified type.
ToUInt16() : UInt16public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToUInt32() : UInt32public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToUInt64() : UInt64public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.

IsoTime Class

Summary

public class IsoTime : CustomDateTime, DevInstinct.ICustomDateTime, System.IConvertible

ISO 8601 Time class.

Remarks

ISO 8601 Time class.

Constructor Members

NameAccessSummary
IsoTime()public Default constructor.
IsoTime()public Constructor.

Property Members

NameAccessSummary
DateTime : DateTimepublic Clears the date and sets the DateTime value.
Format : Stringpublic Gets the DateTime format.

Method Members

NameAccessSummary
ClearDate() : DateTimepublic Sets the date to 1900-01-01 (default for SQL Server) for a DateTime.
GetTypeCode() : TypeCodepublic(from DevInstinct.CustomDateTime<>) Returns the TypeCode for this instance.
Parse() : IsoTimepublic Converts the specified string representation of a time to its ISO time equivalent.
Parse() : IsoTimepublic Converts the specified string representation of a time to its ISO time equivalent using the specified culture-specific format information.
ToBoolean() : Booleanpublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToByte() : Bytepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToChar() : Charpublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToDateTime() : DateTimepublic(from DevInstinct.CustomDateTime<>) Returns the current DateTime object.
ToDecimal() : Decimalpublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToDouble() : Doublepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt16() : Int16public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt32() : Int32public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt64() : Int64public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToSByte() : SBytepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToSingle() : Singlepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToString() : Stringpublic(from DevInstinct.CustomDateTime<>) Converts the value of this instance to its equivalent string representation.
ToString() : Stringpublic(from DevInstinct.CustomDateTime<>) Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.
ToType() : Objectpublic(from DevInstinct.CustomDateTime<>) Converts the current DateTime object to an object of a specified type.
ToUInt16() : UInt16public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToUInt32() : UInt32public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToUInt64() : UInt64public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.

IsoDate Class

Summary

public class IsoDate : CustomDateTime, DevInstinct.ICustomDateTime, System.IConvertible

ISO 8601 Date class.

Remarks

ISO 8601 Date class.

Constructor Members

NameAccessSummary
IsoDate()public Default constructor.
IsoDate()public Constructor.

Property Members

NameAccessSummary
DateTime : DateTimepublic Clears the time and sets the DateTime value.
Format : Stringpublic Gets the DateTime format.

Method Members

NameAccessSummary
ClearTime() : DateTimepublic Sets the hour to 00:00:00 (default for SQL Server) for a DateTime.
GetTypeCode() : TypeCodepublic(from DevInstinct.CustomDateTime<>) Returns the TypeCode for this instance.
Parse() : IsoDatepublic Converts the specified string representation of a date to its ISO date equivalent.
Parse() : IsoDatepublic Converts the specified string representation of a date to its ISO date equivalent using the specified culture-specific format information.
ToBoolean() : Booleanpublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToByte() : Bytepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToChar() : Charpublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToDateTime() : DateTimepublic(from DevInstinct.CustomDateTime<>) Returns the current DateTime object.
ToDecimal() : Decimalpublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToDouble() : Doublepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt16() : Int16public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt32() : Int32public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt64() : Int64public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToSByte() : SBytepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToSingle() : Singlepublic(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToString() : Stringpublic(from DevInstinct.CustomDateTime<>) Converts the value of this instance to its equivalent string representation.
ToString() : Stringpublic(from DevInstinct.CustomDateTime<>) Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.
ToType() : Objectpublic(from DevInstinct.CustomDateTime<>) Converts the current DateTime object to an object of a specified type.
ToUInt16() : UInt16public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToUInt32() : UInt32public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToUInt64() : UInt64public(from DevInstinct.CustomDateTime<>) This conversion is not supported. Attempting to do so throws an InvalidCastException.

IsoDouble Class

Summary

public class IsoDouble : System.IConvertible

Represents a Floating Point number format similar to ISO 6093.

Remarks

That is, this double is always serialized with a dot as a decimal separator and it doesn't use thousands separators.

Constructor Members

NameAccessSummary
IsoDouble()public Default constructor.
IsoDouble()public Constructor.

Method Members

NameAccessSummary
GetTypeCode() : TypeCodepublic Returns the TypeCode for this instance.
Parse() : IsoDoublepublic Converts the specified string representation of a double to its ISO double equivalent.
ToBoolean() : Booleanpublic
ToByte() : Bytepublic
ToChar() : Charpublic
ToDateTime() : DateTimepublic This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToDecimal() : Decimalpublic
ToDouble() : Doublepublic Returns the current double.
ToInt16() : Int16public
ToInt32() : Int32public
ToInt64() : Int64public
ToSByte() : SBytepublic
ToSingle() : Singlepublic
ToString() : Stringpublic Converts the value of this instance to its equivalent string representation.
ToString() : Stringpublic Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.
ToType() : Objectpublic Converts the current DateTime object to an object of a specified type.
ToUInt16() : UInt16public
ToUInt32() : UInt32public
ToUInt64() : UInt64public

Namespace : DevInstinct.Caching



DevInstinct.Caching Type List

Classes

TypeSummary
CacheUtil Provides utilities for caching.


DevInstinct.Caching Classes

CacheUtil Class

Summary

public abstract class CacheUtil

Provides utilities for caching.

Remarks

Provides utilities for caching.

Method Members

NameAccessSummary
GetCacheKey() : Stringpublic Returns a key based on the given object's string representation and the calling method.

Namespace : DevInstinct



DevInstinct Type List

Interfaces

TypeSummary
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.

Enumerations

TypeSummary
ApplicationTypes Specifies the types of .NET applications.

Delegates

TypeSummary
ValueChangedEventHandler Represents the method that will handle a value changed events.

Classes

TypeSummary
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.


DevInstinct Interfaces

ICustomDateTime Interface

Summary

public interface ICustomDateTime

Interface exposed by an object that implements a custom DateTime with fixed formatting.

Remarks

Interface exposed by an object that implements a custom DateTime with fixed formatting.

Property Members

NameAccessSummary
DateTime : DateTimepublic Gets or sets the DateTime value.
Format : Stringpublic Gets the DateTime format.

IKeyElement Interface

Summary

public interface IKeyElement

Interface exposed by an object that can be identified by a unique key.

Remarks

Interface exposed by an object that can be identified by a unique key.

Method Members

NameAccessSummary
GetElementKey() : Objectpublic Gets a unique key for this element.


DevInstinct Enumerations

ApplicationTypes Enumeration

Summary

public enumeration ApplicationTypes

Specifies the types of .NET applications.

Remarks

Specifies the types of .NET applications.

Enumeration Members

FieldSummary
Asp Active Server Pages hosted application.
Dll Dynamic-Linked Library.
Exe Excecutable.


DevInstinct Delegates

ValueChangedEventHandler Delegate

Summary

public delegate ValueChangedEventHandler

Represents the method that will handle a value changed events.

Remarks

True to accept the change, false to discard it.



DevInstinct Classes

CustomDateTime<> Class

Summary

public abstract class CustomDateTime<> : DevInstinct.ICustomDateTime, System.IConvertible

Base class for custom DateTime with fixed formatting.

Remarks

Using the ICustomDateTime as a base interface and a constraint allows the class to simulate type-parameter derivation à la C++.

Constructor Members

NameAccessSummary
CustomDateTime<>()public Default constructor.
CustomDateTime<>()public Constructor.

Property Members

NameAccessSummary
DateTime : DateTimepublic Gets or sets the DateTime value.
Format : Stringpublic Gets the DateTime format.

Method Members

NameAccessSummary
GetTypeCode() : TypeCodepublic 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() : Booleanpublic This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToByte() : Bytepublic This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToChar() : Charpublic This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToDateTime() : DateTimepublic Returns the current DateTime object.
ToDecimal() : Decimalpublic This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToDouble() : Doublepublic This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt16() : Int16public This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt32() : Int32public This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToInt64() : Int64public This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToSByte() : SBytepublic This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToSingle() : Singlepublic This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToString() : Stringpublic Converts the value of this instance to its equivalent string representation.
ToString() : Stringpublic Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.
ToType() : Objectpublic Converts the current DateTime object to an object of a specified type.
ToUInt16() : UInt16public This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToUInt32() : UInt32public This conversion is not supported. Attempting to do so throws an InvalidCastException.
ToUInt64() : UInt64public This conversion is not supported. Attempting to do so throws an InvalidCastException.

ComparablePattern Class

Summary

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.

Remarks

Represents a regular expression pattern that can be compared to objects. If the object matches the pattern, they are considered equals.

Constructor Members

NameAccessSummary
Comp