Click or drag to resize

CodeGenerationTaskBase Class

Defines a code generation task for a specific outputtype and source.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public abstract class CodeGenerationTaskBase : INotifyPropertyChanged

The CodeGenerationTaskBase type exposes the following members.

Constructors
  NameDescription
Protected methodCodeGenerationTaskBase
Initializes a new instance of the CodeGenerationTaskBase class.
Top
Properties
  NameDescription
Protected propertyCanBeDisabled
If true (default) enabled can be set to false.
Public propertyCurrentProject
Public propertyCyclePreferences
Gets the cycle preferences.
Public propertyCyclePreferencesDescription
Gets the cycle preferences description, which is the set of preferences in textual form to display to the user.
Public propertyIsAdditionalCycleTask
If true, the task is seen as an additional cycle task added by the user. If false, it's a regular cycle task created by the system
Public propertyIsEnabled
Gets or sets a value indicating whether this instance is enabled.
Public propertyIsValid
Gets a value indicating whether this instance is valid.
Public propertyOutputTypeDescription
Gets the output type description for this task.
Public propertyPriority
Gets the priority of this task. By default this is 10. If a task has to take precedence over other tasks, override this property in a subclass and return a higher number.
Public propertySourceName
Gets the name of the source for this task.
Public propertySupportsQueueProcessingPerGroup
Gets a value indicating whether queue processing per group is supported for this task (true) or that the queue has to be processed once, regardless of project settings / groups (false, default).
Public propertyTargetFrameworkHolder
Gets the target framework holder to use for this task.
Top
Methods
  NameDescription
Public methodCreateRunQueue
Creates a run queue from the information in this task, if it's valid, otherwise it will return null.
Protected methodDetermineIsValid
Determines whether this task is valid or not. Default implementation returns true.
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.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeGenerator
Initializes the generator by adding the elements to process regarding this task to the generator specified, if any.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Called when [property changed].
Public methodPostExecuteRunQueue
Called right after the runqueue is executed.
Public methodPreExecuteRunQueue
Called right before the runqueue is executed
Public methodRemove
Removes itself by simply removing the preferences of this task from the right source.
Public methodSignalCyclePreferenceChange
Signals a cycle preference change. This is done this way to avoid an event handler hookup as this object wraps a cycle preferences object which might stay alive longer than the task. Calling this method will raise the property changed event for IsValid so subscribers can re-evaluate this flag.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateCyclePreferences
Updates the cycle preferences specified in this task in the container set in this task.
Public methodUpdatePreferencesWithCurrentDateTime
Updates the preferences with the current date/time, if the project setting StoreTimeLastGeneratedIntoProject is set.
Top
Events
  NameDescription
Public eventPropertyChanged
Raised when a property has been changed.
Top
See Also