DerivedModelDefinition Class |
Namespace: SD.LLBLGen.Pro.ApplicationCore.DerivedModel
The DerivedModelDefinition type exposes the following members.
Name | Description | |
---|---|---|
![]() | DerivedModelDefinition |
Initializes a new instance of the DerivedModelDefinition class.
|
Name | Description | |
---|---|---|
![]() | AdditionalCycleTaskPreferences |
Gets the cycle task preferences for the additional tasks for this derived model
|
![]() | AllowEdit |
Gets whether you can update items in the list.
(Inherited from CommandifiedList<T>.) |
![]() | AllowNew |
Gets whether you can add items to the list using AddNew().
(Inherited from CommandifiedList<T>.) |
![]() | AllowRemove |
Gets whether you can remove items from the list, using Remove(Object) or RemoveAt(Int32).
(Inherited from CommandifiedList<T>.) |
![]() | Count | Gets the number of elements actually contained in the Collection<T>. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | Deserializing |
Gets a value indicating whether this DocumentDefinitionList<T> is deserializing.
(Inherited from DocumentDefinitionList<T>.) |
![]() | HolderDescription |
Gets the holder description for text messages to the user.
|
![]() | IsSorted |
Gets whether the items in the list are sorted.
(Inherited from CommandifiedList<T>.) |
![]() | IsSynchronized |
Gets a value indicating whether access to the ICollection is synchronized (thread safe). Default: false. Set to true in the ctor to
make sure the operations on this object are using locks. Use SyncRoot to lock on the same object as this class' internal operations.
(Inherited from CommandifiedList<T>.) |
![]() | Item |
Gets or sets the instance at the specified index. This is a redefinition, so the get can be synchronized if needed.
(Inherited from CommandifiedList<T>.) |
![]() | Items | Gets a IList<T> wrapper around the Collection<T>. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | LastUsedNormalCodeGenerationCyclePreferences |
Gets the last used code generation cycle preferences or null if no code has been generated so far.
|
![]() | ModelType |
The model type this framework holder is interested in.
|
![]() | Name |
Gets or sets the name of the derived model definition.
|
![]() | ObjectID |
Gets the object identifier.
|
![]() | OutputSettingValues |
Gets / sets the output setting values defined on the target framework holder. Used for determining defaults.
|
![]() | Settings |
Gets the settings defined for this derived model definition. This object doesn't contain code generation settings nor framework specific settings.
|
![]() | SettingsHaveBeenChanged |
Flag which signals a setting has changed, so the project should be flagged as changed too.
|
![]() | SortDirection |
Gets the direction of the sort.
(Inherited from CommandifiedList<T>.) |
![]() | SortProperty |
Gets the PropertyDescriptor that is being used for sorting.
(Inherited from CommandifiedList<T>.) |
![]() | SupportsChangeNotification |
Gets whether a ListChanged event is raised when the list changes or an item in the list changes.
(Inherited from CommandifiedList<T>.) |
![]() | SupportsSearching |
Gets whether the list supports searching using the Find(PropertyDescriptor, Object) method.
(Inherited from CommandifiedList<T>.) |
![]() | SupportsSorting |
Gets whether the list supports sorting.
(Inherited from CommandifiedList<T>.) |
![]() | SuppressEvents |
Gets or sets a value indicating whether events are blocked from being raised (true) or not (false, default)
(Inherited from CommandifiedList<T>.) |
![]() | SyncRoot |
Gets an object that can be used to synchronize access to the ICollection. It's the same object used in locks inside this object.
(Inherited from CommandifiedList<T>.) |
![]() | TargetElementType |
Gets the target element type of this target.
|
![]() | TargetFrameworkName |
Gets the name of the target framework for this derived model definition.
|
![]() | UseLegacyDefaults |
Gets a value indicating whether legacy defaults (true, default) should be used for SettingDefinitions or not (false). Set to false when SetTargetFramework is called.
|
![]() | XmlElementName |
Gets or sets the name of the XML element of this object.
(Overrides DocumentDefinitionList<T>.XmlElementName.) |
Name | Description | |
---|---|---|
![]() | Add | Adds an object to the end of the Collection<T>. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | AddIndex |
Adds the PropertyDescriptor to the indexes used for searching.
(Inherited from CommandifiedList<T>.) |
![]() | AddNew |
Adds a new item to the list.
(Inherited from CommandifiedList<T>.) |
![]() | AddRange |
Adds the elements in the range specified to this list in one command
(Inherited from CommandifiedList<T>.) |
![]() | ApplySort |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from CommandifiedList<T>.) |
![]() | BindAdditionalEvents |
Binds the additional event handlers of contained elements in derived classes.
(Overrides DocumentDefinitionList<T>.BindAdditionalEvents().) |
![]() | Clear | Removes all elements from the Collection<T>. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | ClearItems |
Removes all elements from the Collection<T>.
(Inherited from CommandifiedList<T>.) |
![]() | Contains | Determines whether an element is in the Collection<T>. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | CopyTo | Copies the entire Collection<T> to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | CreateNewRootDocument |
Creates a new root document and adds it to this model
|
![]() | DeserializeAdditionalAttributes |
Deserializes the additional attributes of this class from the xml pointed at by the reader, which is at the startelement of this object.
(Overrides DocumentDefinitionList<T>.DeserializeAdditionalAttributes(XmlReader).) |
![]() | DeserializeAdditionalElements |
Deserializes the additional elements from the reader. The reader will be placed on an element that's not recognized by the deserializer of this class.
(Overrides DocumentDefinitionList<T>.DeserializeAdditionalElements(XmlReader, Project, ReferencedElement).) |
![]() | DeserializeFromReader |
Deserializes the data for this DerivedModelDefinition from the xml reader passed in. The reader is assumed to be at the start element of the DerivedModelDefinition
(Inherited from DocumentDefinitionList<T>.) |
![]() | DeserializeSettingContentsFromImport |
Deserializes the setting contents from import, which are serialized using SerializeSettingContentsForImport.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (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.) |
![]() | Find |
Returns the index of the row that has the given PropertyDescriptor.
(Inherited from CommandifiedList<T>.) |
![]() | GetAdditionalInterfaces |
Gets the additional interfaces, if applicable, for this element, where the default interfaces are prefiltered with the ignored
interfaces defined in this element. All interface macros are replaced with real names.
|
![]() | GetAdditionalNamespaces |
Gets the additional namespaces, if applicable, for this element, where the default namespaces are prefiltered with the ignored
namespaces defined in this element. All namespace macros are replaced with real names.
|
![]() | GetAttributes |
Gets the attributes, if applicable, for this element, where the default attributes are prefiltered with the ignored
attributes defined in this element. All name macros and $length/$precision/$scale macros are replaced with real values. (if applicable)
|
![]() | GetDefaultsForTargetElementType |
Gets the defaults for attributes/additional interfaces/namespaces for the targetelement specified, or null if not found
|
![]() | GetDefaultsPerTargetElementTypeClone |
Gets the defaults per target element type store as a clone for editing with cancel option.
|
![]() | GetEnumerator | Returns an enumerator that iterates through the Collection<T>. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLastUsedCodeGenerationCyclePreferencesForOutput |
Gets the last used code generation cycle preferences for the output type SourceCode, or a new one if no code generation has taken place yet.
|
![]() | GetOrderedEquivalent |
Gets the ordered equivalent of this list. Needed for persistence.
(Overrides DocumentDefinitionList<T>.GetOrderedEquivalent().) |
![]() | GetOutputSettingValuesFilteredForTargetElementType |
Gets the output setting values for the target element type specified, including the default values inherited from the project,
filtered with the ignored values.
|
![]() | GetRealBoolSettingValue |
Gets the real setting value of the setting with the name specified as bool
|
![]() | GetRealIntSettingValue |
Gets the real setting value of the setting with the name specified as int
|
![]() | GetRealSettingValue |
Gets the real setting value of the setting with the name specified
|
![]() | GetRealStringSettingValue |
Gets the real setting value of the setting with the name specified as string
|
![]() | GetRealStringSettingValueWithMacrosResolved |
Gets the real setting value of the setting with the name specified as string. Also resolves any macros defined in the value (if any) to real values.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<T>. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | Insert | Inserts an element into the Collection<T> at the specified index. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | InsertItem |
Inserts an element into the Collection<T> at the specified index.
(Inherited from CommandifiedList<T>.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MoveElement |
Moves the element at index currentIndex to the indexToMoveTo index.
(Inherited from CommandifiedList<T>.) |
![]() | NotifyChange |
Notifies a list change to observers with the parameters passed in.
(Inherited from CommandifiedList<T>.) |
![]() | OnAddingItem |
Called right before the item passed in is about to be added to this list. Use this method to do event handler housekeeping on elements in this list.
(Inherited from DocumentDefinitionList<T>.) |
![]() | OnAddingItemComplete |
Called right after the item passed in has been added to the list
(Overrides CommandifiedList<T>.OnAddingItemComplete(T).) |
![]() | OnClearing |
Called right before the clear action starts. Use this method to do event handler housekeeping on elements in this list.
(Inherited from DocumentDefinitionList<T>.) |
![]() | OnClearingComplete |
Called right after the clear action has been completed.
(Overrides CommandifiedList<T>.OnClearingComplete().) |
![]() | OnElementPropertyChanged |
Called when the PropertyChanged event was raised by an element in this list.
(Inherited from CommandifiedList<T>.) |
![]() | OnRemovingItem |
Called right before the item passed in is about to be removed from this list. Use this method to do event handler housekeeping on elements in this list.
(Inherited from DocumentDefinitionList<T>.) |
![]() | OnRemovingItemComplete |
Called right after the item passed in has been removed from this list.
(Overrides CommandifiedList<T>.OnRemovingItemComplete(T).) |
![]() | PerformCleanupOnRemovedItem |
performs tasks on the item which has been removed from this list.
(Overrides DocumentDefinitionList<T>.PerformCleanupOnRemovedItem(T).) |
![]() | PerformSetupOnAddedItem |
Performs the setup tasks on the item which has been added to this list.
(Overrides DocumentDefinitionList<T>.PerformSetupOnAddedItem(T).) |
![]() | PerformSyncedAction(Action) |
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
(Inherited from CommandifiedList<T>.) |
![]() | PerformSyncedAction<TFunc>(Func<TFunc>) |
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
(Inherited from CommandifiedList<T>.) |
![]() | Remove | Removes the first occurrence of a specific object from the Collection<T>. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | RemoveAt | Removes the element at the specified index of the Collection<T>. (Inherited from Collection<RootDocumentDefinition>.) |
![]() | RemoveIndex |
Removes the PropertyDescriptor from the indexes used for searching.
(Inherited from CommandifiedList<T>.) |
![]() | RemoveItem |
Removes the element at the specified index of the Collection<T>.
(Inherited from CommandifiedList<T>.) |
![]() | RemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from CommandifiedList<T>.) |
![]() | ResetBindings |
Resets the bindings. Raises a ListChanged.Reset event
(Inherited from CommandifiedList<T>.) |
![]() | SerializeAdditionalAttributes |
Serializes the additional attributes of this class to the start element.
(Overrides DocumentDefinitionList<T>.SerializeAdditionalAttributes(ISerializer).) |
![]() | SerializeAdditionalElements |
Serializes the additional elements inside the containing element of this class
(Overrides DocumentDefinitionList<T>.SerializeAdditionalElements(ISerializer).) |
![]() | SerializeSettingContentsForImport |
Serializes the setting contents for import to the serializer's writer.
|
![]() | SerializeToWriter |
Serializes the data in this class to the serializer passed in
(Inherited from DocumentDefinitionList<T>.) |
![]() | SetItem |
Replaces the element at the specified index.
(Inherited from CommandifiedList<T>.) |
![]() | SetNewOutputSettingValuesContainer |
Sets the new output setting values container in this frameworkholder.
|
![]() | SetTargetFramework |
Sets the target framework for this project
|
![]() | ToString | (Inherited from CommandifiedList<T>.) |
![]() | UnbindAdditionalEvents |
Unbinds the additional event handlers of contained elements in derived classes
(Overrides DocumentDefinitionList<T>.UnbindAdditionalEvents().) |
Name | Description | |
---|---|---|
![]() | DefaultsPerTargetElementTypeChanged |
Raised when the defaults for target elements have been changed through property edits.
|
![]() | DerivedModelDefinitionChanged |
Event which is raised when the definition of this DerivedModelDefinition has been changed. What has changed is enclosed inside the event args.
|
![]() | ElementAdding |
Raised when an element is about to be added. The addition of the element can be cancelled through the event arguments.
(Inherited from CommandifiedList<T>.) |
![]() | ElementRemoved |
Raised when an element was removed from this list. The element removed is contained in the event arguments. This event is necessary to
be able to retrieve a removed element after it was removed from the list by an observer, as ListChanged only contains indexes, and the
index of a removed element isn't valid after it's been removed from the list.
(Inherited from CommandifiedList<T>.) |
![]() | ElementRemoving |
Raised when an element is about to be removed. The removal of the element can be cancelled through the event arguments.
(Inherited from CommandifiedList<T>.) |
![]() | HasBeenChanged |
Raised when the implementing element has been changed
|
![]() | HasBeenRemoved |
Raised when the implementing element has been removed from its container
|
![]() | ListChanged |
Occurs when the list changes or an item in the list changes.
(Inherited from CommandifiedList<T>.) |
![]() | ListClearing |
Raised when this list is about to be cleared completely. The clearing of the list can be cancelled through the event arguments.
(Inherited from CommandifiedList<T>.) |
![]() | PropertyChanged |
Occurs when a property value changes. (INotifyPropertyChanged)
|
![]() | RootDocumentInModelChanged |
Event which is raised when a root document in this DerivedModelDefinition has been changed, added or removed. The root document involved is enclosed inside the event args.
|
Name | Description | |
---|---|---|
![]() ![]() | IDataErrorInfo.Error |
Gets an error message indicating what is wrong with this object.
|
![]() ![]() | IDataErrorInfo.Item |
Gets the String with the specified column name.
|
![]() ![]() | IList.Add | Adds an item to the IList. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | IList.Contains | Determines whether the IList contains a specific value. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | ICollection.CopyTo | (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | IList.IndexOf | Determines the index of a specific item in the IList. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | IList.Insert | Inserts an item into the IList at the specified index. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | IOutputSettingValuesTarget.TargetName |
Gets the name of the element.
|
![]() ![]() | IList.IsFixedSize | Gets a value indicating whether the IList has a fixed size. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | ICollection<T>.IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | IList.IsReadOnly | Gets a value indicating whether the IList is read-only. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | ICollection.IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | IList.Item | Gets or sets the element at the specified index. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | IList.Remove | Removes the first occurrence of a specific object from the IList. (Inherited from Collection<RootDocumentDefinition>.) |
![]() ![]() | ICollection.SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from Collection<RootDocumentDefinition>.) |