The Configuration type exposes the following members.

Constructors

  NameDescription
Protected methodConfiguration
Initializes a new instance of the Configuration class.

Methods

  NameDescription
Public methodStatic memberDeleteLicenseFiles
Public methodDispose (Inherited from CachedConfiguration.)
Public methodEnsureInitialize
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.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCachedValue<(Of <<'(T>)>>)(String) (Inherited from CachedConfiguration.)
Protected methodGetCachedValue<(Of <<'(T>)>>)(String, T) (Inherited from CachedConfiguration.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHoursSaved
Returns the numbers of hours saved by using CodeSmith.
Public methodGetIconResourcePath
Returns the path to the icon resource dll.
Public methodStatic memberGetLicenseDirectory
Public methodGetMoneySaved
Returns the amount of money saved by using CodeSmith.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetValue<(Of <<'(T>)>>)(String) (Inherited from ConfigurationBase.)
Protected methodGetValue<(Of <<'(T>)>>)(String, Action) (Inherited from ConfigurationBase.)
Protected methodGetValue<(Of <<'(T>)>>)(String, T) (Inherited from ConfigurationBase.)
Protected methodGetValue<(Of <<'(T>)>>)(String, Action, Func<(Of <<'(T, Boolean>)>>)) (Inherited from ConfigurationBase.)
Protected methodGetValue<(Of <<'(T>)>>)(String, String, Action) (Inherited from ConfigurationBase.)
Protected methodGetValue<(Of <<'(T>)>>)(String, String, T) (Inherited from ConfigurationBase.)
Protected methodGetValue<(Of <<'(T>)>>)(String, T, Func<(Of <<'(T, Boolean>)>>)) (Inherited from ConfigurationBase.)
Protected methodGetValue<(Of <<'(T>)>>)(String, String, Action, Func<(Of <<'(T, Boolean>)>>)) (Inherited from ConfigurationBase.)
Protected methodGetValue<(Of <<'(T>)>>)(String, String, T, Func<(Of <<'(T, Boolean>)>>)) (Inherited from ConfigurationBase.)
Public methodInitialize (Overrides ConfigurationBase..::..Initialize()()()().)
Public methodLoadDefaults
This method will safely upgrade the default values for collections and overwrite any directory settings.
(Overrides ConfigurationBase..::..LoadDefaults()()()().)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResetDefaults (Overrides ConfigurationBase..::..ResetDefaults()()()().)
Public methodStatic memberSetLicenseAssembly
Checks an assembly for an embedded license.
Protected methodSetValue<(Of <<'(T>)>>)(String, T) (Inherited from ConfigurationBase.)
Protected methodSetValue<(Of <<'(T>)>>)(String, String, T) (Inherited from CachedConfiguration.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateLinesGenerated
Updates Lines Generated based off of the passed in string containing source code.
Public methodUpgrade (Overrides ConfigurationBase..::..Upgrade()()()().)
Protected methodUpgradeFile<(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

Properties

  NameDescription
Public propertyStatic memberApplicationConfigurationDirectory
Public propertyApplicationDirectory
Gets or sets the application directory.
Public propertyAverageCostPerHour
Gets or sets the average cost per hour.
Public propertyAverageLinesPerHour
Gets or sets the average lines per hour.
Public propertyCodeSmithBaseSampleDirectory
Gets or sets the base CodeSmith sample directory.
Public propertyCodeSmithDataDirectory
Gets or sets the CodeSmith data directory.
Public propertyCodeSmithMapsDirectory
Gets or sets the CodeSmith maps directory.
Public propertyCodeSmithSampleDirectory
Gets or sets the CodeSmith sample directory.
Public propertyCodeSmithTemplatesDirectory
Gets or sets the CodeSmith templates directory.
Public propertyConditionalCompilation
Gets the conditional compilation statements for the compiler.
Public propertyConfigurationVersion (Inherited from ConfigurationBase.)
Public propertyCustomerExperienceImprovementProgramEnabled
Controls whether the Customer Experience Improvement Program is enabled.
Public propertyStatic memberInstance
Gets the current singleton instance of Configuration.
Public propertyLanguageRegionDefinitions
Gets the language region definitions.
Public propertyLinesGenerated
Gets or sets the number of lines generated.
Public propertyMergeStrategyAliases
Gets the merge strategy aliases.
Protected propertyNamePrefix (Overrides ConfigurationBase..::..NamePrefix.)
Public propertyProbingPath
Gets or sets the semicolon delimited list of assembly probing paths. The path is relative to ApplicationDirectory.
Public propertyPropertyDesignerMaps
Gets the property designer maps.
Public propertyPropertySetCacheDirectory
Gets or sets the property set cache directory.
Public propertyTemplateCacheDirectory
Gets or sets the template cache directory.
Public propertyTrackLinesGenerated
Gets or sets a value indicating whether to track lines generated.
Public propertyStatic memberUserConfigurationDirectory

See Also