The Configuration type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Configuration |
Initializes a new instance of the Configuration class.
|
Methods
| Name | Description | |
|---|---|---|
| DeleteLicenseFiles | ||
| Dispose | (Inherited from CachedConfiguration.) | |
| EnsureInitialize |
This method is here purely to make sure that we don't make a double call to the Initialize method while initializing configuration.
(Inherited from ConfigurationBase.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCachedValue<(Of <<'(T>)>>)(String) | (Inherited from CachedConfiguration.) | |
| GetCachedValue<(Of <<'(T>)>>)(String, T) | (Inherited from CachedConfiguration.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetHoursSaved |
Returns the numbers of hours saved by using CodeSmith.
| |
| GetIconResourcePath |
Returns the path to the icon resource dll.
| |
| GetLicenseDirectory | ||
| GetMoneySaved |
Returns the amount of money saved by using CodeSmith.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue<(Of <<'(T>)>>)(String) | (Inherited from ConfigurationBase.) | |
| GetValue<(Of <<'(T>)>>)(String, Action) | (Inherited from ConfigurationBase.) | |
| GetValue<(Of <<'(T>)>>)(String, T) | (Inherited from ConfigurationBase.) | |
| GetValue<(Of <<'(T>)>>)(String, Action, Func<(Of <<'(T, Boolean>)>>)) | (Inherited from ConfigurationBase.) | |
| GetValue<(Of <<'(T>)>>)(String, String, Action) | (Inherited from ConfigurationBase.) | |
| GetValue<(Of <<'(T>)>>)(String, String, T) | (Inherited from ConfigurationBase.) | |
| GetValue<(Of <<'(T>)>>)(String, T, Func<(Of <<'(T, Boolean>)>>)) | (Inherited from ConfigurationBase.) | |
| GetValue<(Of <<'(T>)>>)(String, String, Action, Func<(Of <<'(T, Boolean>)>>)) | (Inherited from ConfigurationBase.) | |
| GetValue<(Of <<'(T>)>>)(String, String, T, Func<(Of <<'(T, Boolean>)>>)) | (Inherited from ConfigurationBase.) | |
| Initialize | (Overrides ConfigurationBase..::..Initialize()()()().) | |
| LoadDefaults |
This method will safely upgrade the default values for collections and overwrite any directory settings.
(Overrides ConfigurationBase..::..LoadDefaults()()()().) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ResetDefaults | (Overrides ConfigurationBase..::..ResetDefaults()()()().) | |
| SetLicenseAssembly |
Checks an assembly for an embedded license.
| |
| SetValue<(Of <<'(T>)>>)(String, T) | (Inherited from ConfigurationBase.) | |
| SetValue<(Of <<'(T>)>>)(String, String, T) | (Inherited from CachedConfiguration.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateLinesGenerated |
Updates Lines Generated based off of the passed in string containing source code.
| |
| Upgrade | (Overrides ConfigurationBase..::..Upgrade()()()().) | |
| UpgradeFile<(Of <<'(T>)>>) |
Attempts to update configuration from a configuration file. The version of CodeSmith must be older than CodeSmith 5.1.
(Inherited from ConfigurationBase.) |
Fields
| Name | Description | |
|---|---|---|
| EMBEDDED_LICENSE_FILE | ||
| LICENSE_FILE |
Properties
| Name | Description | |
|---|---|---|
| ApplicationConfigurationDirectory | ||
| ApplicationDirectory |
Gets or sets the application directory.
| |
| AverageCostPerHour |
Gets or sets the average cost per hour.
| |
| AverageLinesPerHour |
Gets or sets the average lines per hour.
| |
| CodeSmithBaseSampleDirectory |
Gets or sets the base CodeSmith sample directory.
| |
| CodeSmithDataDirectory |
Gets or sets the CodeSmith data directory.
| |
| CodeSmithMapsDirectory |
Gets or sets the CodeSmith maps directory.
| |
| CodeSmithSampleDirectory |
Gets or sets the CodeSmith sample directory.
| |
| CodeSmithTemplatesDirectory |
Gets or sets the CodeSmith templates directory.
| |
| ConditionalCompilation |
Gets the conditional compilation statements for the compiler.
| |
| ConfigurationVersion | (Inherited from ConfigurationBase.) | |
| CustomerExperienceImprovementProgramEnabled |
Controls whether the Customer Experience Improvement Program is enabled.
| |
| Instance |
Gets the current singleton instance of Configuration.
| |
| LanguageRegionDefinitions |
Gets the language region definitions.
| |
| LinesGenerated |
Gets or sets the number of lines generated.
| |
| MergeStrategyAliases |
Gets the merge strategy aliases.
| |
| NamePrefix | (Overrides ConfigurationBase..::..NamePrefix.) | |
| ProbingPath |
Gets or sets the semicolon delimited list of assembly probing paths. The path is relative to ApplicationDirectory.
| |
| PropertyDesignerMaps |
Gets the property designer maps.
| |
| PropertySetCacheDirectory |
Gets or sets the property set cache directory.
| |
| TemplateCacheDirectory |
Gets or sets the template cache directory.
| |
| TrackLinesGenerated |
Gets or sets a value indicating whether to track lines generated.
| |
| UserConfigurationDirectory |