MicaSystems.Utils Namespace |
Class | Description | |
---|---|---|
AccessDeniedException |
Exception thrown when an operation could not be performed because of specific restrictions.
| |
ArchiveCreator |
Use this class to create a .zip archive from disk files.
| |
ArchiveCreatorInstruction |
Represents the way a file must be included in an archive.
| |
ArchiveExtractor |
Use this class to extract a .zip archive to disk.
| |
ArchiveExtractorFilePattern |
Use this object to filter files.
| |
ArchiveExtractorMapping |
Represents the way a file must be extracted from an archive.
| |
AssemblyLoadException |
Exception thrown when an assembly could not be loaded.
| |
AuthorizationException |
Exception thrown when an authorisation is missing to execute an operation.
| |
BuildException |
Exception thrown when a project build failed.
| |
Bundle |
Represents an instruction to (optionnaly) minify and bundle files into a single file.
| |
BundleConfig |
Contains instructions to minify and bundle files.
| |
BundleFile |
Represents a file to bundle.
| |
CodeStep |
Object used in codes needing more progress informations in case an exception is thrown.
| |
DataCollisionException |
Exception thrown when different objects have been found with common unique keys.
| |
EnumGuid |
Attribute used to assign a guid to a class member.
| |
Exceptions |
Utilities allowing to create specific exceptions with other signatures.
| |
HtmlBuilder |
Represents a mutable Html string. This class leverages C#6 string interpolation feature to conveniently
build XSS-safe (HTML) strings.
| |
HtmlEncodingFormatProvider |
Controls the formatting of HTML strings.
| |
IconSource |
Represents an icon loaded from disk.
| |
Impersonator |
Impersonation of a user. Allows to execute code under another
user context.
Please note that the account that instantiates the Impersonator class
needs to have the 'Act as part of operating system' privilege set.
| |
InitializationException |
Exception thrown when an object could not be initialized properly.
| |
InvalidFileTypeException |
Exception thrown when an object could not be initialized properly.
| |
InvalidStateException |
Exception thrown when the current object state does not allow to perform an operation.
| |
JavaScriptMinifier |
https://github.com/extnet/Utilities/blob/master/Ext.Net.Utilities/JavaScript/JSMin.cs
| |
KeyValuePair2K, V |
Defines a key/value pair that can be set or retrieved.
This is a "class" mutable version of KeyValuePair. | |
LicenceException |
Exception thrown when an operation is restricted because of licencing limitations.
| |
LocalT |
Provides local-storage of data using a ThreadLocal variable.
If an ASP request is in progress will use HttpContext to store the variable.
| |
M_Object |
Generic representation of an object that can be inherited
to allow some UI to display very different items.
Currently used internally by Ticup.
To be used externally, an Interface should be created.
| |
MemoryStreamTool |
Memory stream utilities.
| |
MicaException |
The generic exception. Parent class of all exceptions implemented by Ticup.
| |
MicaWordDocumentRestrictEditing |
Uses OpenXML framework to restrict editing.
Source: http://blogs.msdn.com/b/vsod/archive/2010/04/05/how-to-set-the-editing-restrictions-in-word-using-open-xml-sdk-2-0.aspx
| |
MinificationInstruction |
Represents an instruction to minify non minified files in a folder.
| |
MissingDataException |
Exception thrown when required data are missing on an object.
| |
NumericValueTypeUtils |
Extensions for the enum NumericValueType.
| |
ObjectNotFoundException |
Exception thrown when an object has not been found.
| |
OperationFailedException |
Generic exception thrown when an operation failed.
| |
OperationResult |
Represents the result of an operation, positive or negative.
| |
OperationResultData |
All data used by an Operation result.
| |
PerformanceChecker |
Represents a complete test of performances.
| |
PerformanceEntry |
Represents a set of durations concerning a same type of executed code.
| |
ReadOnlyDictionaryTKey, TValue |
This dictionary will throw an exception every time a change operation is attempted.
| |
ReadOnlyDictionaryUtils |
Utils allowing to create a read-only dictionary.
| |
SerializableDictionaryTKey, TValue |
Represents an XML serializable collection of keys and values.
| |
SqlColumnBaseDefinition |
Definition of a SQL column used to ensure a column in a database.
| |
SqlColumnBaseDefinitionOperationsSettings |
Settings used to customize the way a column should be used in various query operations.
| |
SqlConnectionException |
Exception thrown if a connection to an SQL server could not be established.
| |
SqlEnsuringException |
Exception thrown during an ensuring operation of a SQL structure.
| |
SqlTableBaseDefinition |
Definition of a SQL table used to ensure a table in a database.
| |
SqlTransactionException |
Exception thrown during a transaction execution.
| |
UniverseException |
Exception thrown when the answer is wrong.
| |
UserInfo |
Generic object containing the information of a user.
| |
Utils_ACL |
Utility class to process Access Control Lists in windows systems.
| |
Utils_Asp |
ASP utilities.
| |
Utils_Color |
Local color utilities.
| |
Utils_Directory |
Folders/Directories utilities.
| |
Utils_DirectoryServices |
Local or Active Directory utilities.
| |
Utils_File |
Files utilities.
| |
Utils_Html |
Html content manipulation utilities.
Relies on HtmlAgilityPack.
inspired from: https://eksith.wordpress.com/2011/06/14/whitelist-santize-htmlagilitypack/
https://eksith.wordpress.com/2012/02/13/antixss-4-2-breaks-everything/
| |
Utils_Icons |
Icons utilities.
| |
Utils_IIS |
IIS Utilities.
| |
Utils_Linq |
LINQ utilities.
| |
Utils_Minification |
Utilities for Javascript and StyleSheet minification.
Important: css one line comments (using '//') are not handled. | |
Utils_Other |
Miscellaneous utilities.
| |
Utils_Registry |
Local registry utilities.
| |
Utils_Requirements | ||
Utils_Service |
Windows Services utilities.
| |
Utils_Sql |
SQL Utilities.
| |
Utils_String |
String utilities.
| |
Utils_Url |
Url utilities.
| |
Utils_UrlUrlBuilder |
Tool used to build an url with parameters.
| |
Utils_Xml |
XML utilities.
| |
Utils_YUI |
Intermediate utilities calling YUI (may fail if dll is not present).
| |
ValidationException |
Exception thrown when a validation failed.
| |
WCFImpersonator |
Object used to impersonate the current WCF identity.
| |
WebImpersonator |
Object used to impersonate the current Http Context identity.
| |
WebServiceConnectionException |
Exception thrown if a connection to a web service could not be established.
| |
WindowsFeature |
Represents a Windows feature.
| |
WindowsFeaturesCheckResult |
Represents the result of a windows feature requirement check.
|
Structure | Description | |
---|---|---|
Html |
Represents an immutable html string.
| |
JavaScript |
Represents a piece of JavaScript code that will be inserted into an HTML string.
| |
SerializableKeyValuePairK, V |
Defines a key/value pair that can be set or retrieved.
This is a mutable version of KeyValuePair. |
Interface | Description | |
---|---|---|
IHtmlException |
Represents an exception that has an optional Html representation.
| |
IJsonDeserializableRoot |
Class with events called during JSON deserialization operations.
| |
ILogger |
Represents a class that can log errors and provide last executed code steps.
| |
IMicaException |
Represents a class that can be thrown/created/not abstract.
| |
ISqlFilter |
Represents a classic filter, for SQL use.
| |
IXmlDeserializableRoot |
Class with events called by MicaSystems.Utils.Utils_Xml class during deserialization operations.
|
Delegate | Description | |
---|---|---|
AdaptFilter |
Represents a method that customizes a filter before its insertion in an SQL query.
| |
ArchiveEvent |
Represents a method called by an archive creator or extractor when a file have been processed.
| |
dGetGuid |
Represents the method that returns a Guid.
| |
dGetInt |
Represents the method that returns an integer.
| |
dGetLong |
Represents the method that returns a long.
| |
dGetString |
Represents the method that returns a String.
| |
dSetGuid |
Represents the method that receives a Guid.
| |
dSetInt |
Represents the method that receives an integer.
| |
dSetLong |
Represents the method that receives a long.
| |
dSetString |
Represents the method that receives a String.
| |
GenericPropertyGetter |
Dynamic getter for a property.
https://jachman.wordpress.com/2006/08/22/2000-faster-using-dynamic-method-calls/
| |
GenericPropertySetter |
Dynamic setter for a property.
https://jachman.wordpress.com/2006/08/22/2000-faster-using-dynamic-method-calls/
| |
SqlInitValue |
Reprensents a method to call each time a value of a specific column
is loaded from the database and is being placed in its object.
| |
UpdateProgressionMethod |
Represents the method that receives a String.
|
Enumeration | Description | |
---|---|---|
BundleType |
Identifies the type of code of a bundle.
| |
DatabaseType |
List of database types.
| |
NumericValueType |
Represents the type of unit represented by a number.
| |
ProjectBuildMode |
The configuration used to build a project.
| |
SqlColumnIdentifierType |
Identifies a special behavior of a column.
| |
Utils_LinqMoveDirection |
Describes the direction used to move an object in a list.
| |
VersionsComparison |
Specifies how a version can be compared to another.
|