The CodeSmith engine can be used to programmatically generate code from templates.
Classes
Class | Description | |
---|---|---|
ActiveSnippetCompleteEventArgs | ||
ActiveSnippetConfiguration | ||
ActiveSnippetEventArgs | ||
ActiveSnippetGenerator | ||
ActiveSnippetMapping | ||
ActiveSnippetMappingCollection | ||
AdoHelper<(Of <(<'TFactory>)>)> |
The AdoHelper class is intended to encapsulate high performance, scalable best practices for
common data access uses.
| |
BusinessObjectBase | Obsolete. | |
CachedConfiguration | ||
CodeGeneratorBase | ||
CodeSmithDomainFactory | ||
CodeSmithLicense | ||
CodeTemplate |
All templates must derive from this class.
| |
CodeTemplateCompiler |
This class can be used to compile templates.
| |
CodeTemplateInfo | ||
CodeTemplatePropertyAttribute | Obsolete. | |
CodeTemplateValidationException | ||
CodeTemplateWriter | ||
CompileTemplateResult | ||
Configuration | ||
ConfigurationBase | ||
ConfigurationBase<(Of <(<'T>)>)> | Obsolete. | |
ConfigurationCollectionBase<(Of <(<'T>)>)> | ||
ConfigurationItemBase | ||
ContextItem | ||
Control | ||
ControlCollection | ||
ControlCollection..::..ControlCollectionEnumerator | ||
DefaultEngineHost | ||
DefaultLogger | ||
DelegateControl | ||
DelimitedStringCollection |
A collection that provides notifications when items get added, removed, or when the whole list is refreshed.
| |
DelimitedStringCollection..::..DelimitedStringTypeConverter |
A type converter for the DelimitedStringCollection.
| |
DidNotAcceptTrialException | ||
EmptyControlCollection | ||
EngineConstants | ||
EngineHostBase | ||
FeatureNotAllowedException | ||
GenerateCodeResult | ||
GenerateEndEventArgs | ||
GenerateEventArgs | ||
GenerateStartEventArgs | ||
GenerateTemplateResult | ||
GeneratorCompleteEventArgs |
EventArgs derived type which holds the custom event fields
| |
GeneratorErrorEventArgs |
EventArgs derived type which holds the custom event fields
| |
GeneratorEventsCallbackBase | ||
GeneratorProgressEventArgs |
EventArgs derived type which holds the custom event fields
| |
HashCodeCombiner | ||
IndexedEnumerable |
IndexedEnumerable makes enumerating over collections much easier by implementing properties like: IsEven, IsOdd, IsLast.
| |
IndexedEnumerable<(Of <(<'T>)>)> |
IndexedEnumerable makes enumerating over collections much easier by implementing properties like: IsEven, IsOdd, IsLast.
| |
IndexedEnumerable<(Of <(<'T>)>)>..::..EntryItem |
Represents each entry returned within a collection,
containing the _value and whether it is the first and/or
the last entry in the collection's. enumeration
| |
InMemoryCodeTemplateInfo | ||
InsertRegionMergeStrategy |
This merge strategy can be used to insert the template output into a named region inside an existing file
and preserve the rest of the content in the file. The initialization string should be of the format:
"RegionName=<RegionName>;Language=<Language>"
| |
InvalidPublisherException | ||
ItemRegisteredEventArgs | ||
LanguageRegionDefinition | ||
LanguageRegionDefinitionCollection | ||
Logger | ||
Map | ||
MapCollection | ||
MergeContext | ||
MergeStrategyAlias | ||
MergeStrategyAliasCollection | ||
MessageEventArgs |
EventArgs derived type which holds the custom event fields
| |
MethodPropertyRefresher | ||
NotCheckedAttribute |
Excludes a property from being required.
| |
OptionalAttribute |
Marks a property as optional.
| |
OutputCancelEventArgs | ||
OutputFile |
A class representing a template output file.
| |
OutputRegisteredEventArgs |
EventArgs derived type which holds the custom event fields
| |
PreserveRegionsMergeStrategy |
This merge strategy can be used to preserve designated custom regions inside an existing file and
regenerate the rest of the content in the file. The initialization string should be of the format:
"RegionNameRegex=<RegexExpression>;Language=<Language>"
| |
Progress |
Progress information.
| |
ProgressEventArgs | ||
ProjectCodeGenerator | ||
PropertyDesignerMap | ||
PropertyDesignerMapCollection | ||
PropertyRefresherAttribute | ||
PropertyRefresherContext |
Context information passed into the IPropertyRefresher methods.
| |
PropertyRequiredValidationError | ||
PropertySerializerAttribute | ||
PropertySerializerContext |
Context information passed into the IPropertySerializer methods.
| |
PropertySetCache | ||
RegisteredContent | ||
SafeDataReader |
This is a DataReader that 'fixes' any null values before
they are returned to our business code.
| |
SchemaArguments | ||
SerializableDictionary<(Of <(<'TKey, TValue>)>)> |
Represents a xml serializable collection of keys and values.
| |
ShowDialogEventArgs | ||
StatusChangedEventArgs | ||
StringUtil | ||
TemplateContext | ||
TemplateEngine | ||
TemplateError | ||
TemplateErrorCollection | ||
TemplateParseResult | ||
TextWriterCollection | ||
Util | ||
ValidationError |
Provides information about a template validation error.
| |
ValidationErrorCollection | ||
VersionCheck | ||
VersionInfo | ||
VirtualCollectionBase<(Of <(<'T>)>)> |
A base Collection used to load data on depand from database.
| |
XmlPropertyDirectiveTypeConverter |
This class can be used to convert to and from an XmlNode for a class that supports XML serialization.
| |
XmlPropertyFilePicker |
This type editor can be used on a class that supports XML serialization to allow the user to pick an XML file and have that XML file deserialized into the target class.
| |
XmlPropertyRefresher | ||
XmlPropertySerializer | ||
XmlPropertyTypeConverter |
This class can be used to convert to and from an XmlNode for a class that supports XML serialization.
| |
XmlSchemaFilePicker |
Allows you to browse for an XSD Schema.
| |
XmlSchemaSerializer | ||
XsdHelper |
Interfaces
Interface | Description | |
---|---|---|
ICodeTemplateInfo | ||
IConfiguration | ||
IEngineHost | ||
IIndexed |
Interface defining an indexed object.
| |
ILogger | ||
IMergeStrategy |
This interface can be implemented to create a merge strategy.
| |
IPropertyRefresher |
Interface that all property refreshers must implement.
| |
IPropertySerializer |
Interface that all property serializers must implement.
|
Delegates
Delegate | Description | |
---|---|---|
AdoHelper<(Of <(<'TFactory>)>)>..::..RowUpdatedHandler |
Delegate for creating a RowUpdatedEvent handler
| |
AdoHelper<(Of <(<'TFactory>)>)>..::..RowUpdatingHandler |
Delegate for creating a RowUpdatingEvent handler
| |
GenerateEndEventHandler | ||
GenerateStartEventHandler | ||
GeneratorCompleteEventHandler |
This represents the delegate method prototype that
event receivers must implement
| |
GeneratorErrorEventHandler |
This represents the delegate method prototype that
event receivers must implement
| |
GeneratorProgressEventHandler |
This represents the delegate method prototype that
event receivers must implement
| |
MessageEventHandler |
This represents the delegate method prototype that
event receivers must implement
| |
OutputCancelEventHandler |
This represents the delegate method prototype that
event receivers must implement
| |
OutputRegisteredEventHandler |
This represents the delegate method prototype that
event receivers must implement
| |
ProgressEventHandler | ||
RenderMethod | ||
StatusChangedEventHandler |
Enumerations
Enumeration | Description | |
---|---|---|
AdoHelper<(Of <(<'TFactory>)>)>..::..AdoConnectionOwnership |
This enum is used to indicate whether the connection was provided by the caller, or created by AdoHelper, so that
we can set the appropriate CommandBehavior when calling ExecuteReader()
| |
CodeSmithEditions | ||
CodeTemplateOutputType | ||
CodeTemplatePropertyOption | Obsolete. | |
LanguageKind | ||
LogLevel | ||
OutputLanguage | ||
TemplateErrorLevel | ||
TemplateErrorType | ||
TemplateState |