Click or drag to resize

IDocumentFieldSource Interface

Interface which defines a document field source.

Namespace:  SD.LLBLGen.Pro.ApplicationCore
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax
public interface IDocumentFieldSource : INotifyAsChanged, 
	INotifyAsRemoved

The IDocumentFieldSource type exposes the following members.

Properties
  NameDescription
Public propertyContainingField
The field of which this instance is the document source.
Public propertyElementName
Name of the source, which is determined from the actual object implementing this interface.
Public propertySourceElementTypeAsString
Gets the source element type as string, which is e.g. the field type if this source represents a field, or 'entity' if it's an entity.
Public propertySourceType
The type of source, e.g. multi element or single element or a field.
Top
Methods
  NameDescription
Public methodBindEvents
Binds the event handlers of contained elements.
Public methodClone
Clones this instance using deep cloning. It doesn't clone elements referenced from the entity model. There it uses shallow clone.
Public methodCreateValidators
Creates validator objects for the source object, if required.
Public methodIsSame
Returns true if the passed in IDocumentFieldSource instance can be seen as a source originating from the same element. This means that even if the passed in element or this element has been changed, e.g. elementName has been changed, it will still return true if the original source is equal. This method is therefore different from 'Equals' which compares all elements.
Public methodSerializeToWriter
Serializes the source to the serializer specified.
Public methodUnbindEvents
Unbinds the event handlers of contained elements.
Public methodUpdateOutputSettingValuesContainerWithDefaults
Updates the output setting values container of this element (if applicable) with the defaults in the container specified.
Top
Events
  NameDescription
Public eventHasBeenChanged
Raised when the implementing element has been changed
(Inherited from INotifyAsChanged.)
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
(Inherited from INotifyAsRemoved.)
Top
See Also