Click or drag to resize

DiagramElement Class

The diagram element.
Inheritance Hierarchy

Namespace:  StockSharp.Xaml.Diagram
Assembly:  StockSharp.Xaml.Diagram (in StockSharp.Xaml.Diagram.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public abstract class DiagramElement : BaseLogReceiver, 
	INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged

The DiagramElement type exposes the following members.

Constructors
  NameDescription
Protected methodDiagramElement
Initializes a new instance of the DiagramElement.
Top
Properties
  NameDescription
Public propertyCanAutoName
Use auto naming.
Public propertyCategory
The name of the group which includes a diagram element.
Public propertyCurrentTime
Current time, which will be passed to the Time.
(Inherited from BaseLogSource.)
Public propertyDebuggerSyncObject
The synchronization object for the debugger.
Public propertyDescription
The diagram element description.
Public propertyIcon
Icon.
Public propertyIconName
Icon resource name.
Public propertyId
The unique identifier of the source.
(Inherited from BaseLogSource.)
Public propertyInputSockets
Incoming connections.
Public propertyIsDisposed (Inherited from Disposable.)
Public propertyIsRoot
Whether the source is the root (even if Parent is not equal to ).
(Inherited from BaseLogSource.)
Public propertyLogLevel
The logging level. The default is set to Inherit.
(Overrides BaseLogSourceLogLevel.)
Public propertyName
Name.
(Overrides BaseLogSourceName.)
Public propertyOutputSockets
Outgoing connections.
Public propertyParameters
Diagram element settings.
Public propertyParent
Parent.
(Inherited from BaseLogSource.)
Public propertyProcessNullValues
Process null values.
Public propertySelectedInputSocket
Selected input connection.
Public propertySelectedOutputSocket
Selected output connection.
Public propertySelectedSocket
Selected connection.
Public propertyShowParameters
Show element parameters in higher order elements.
Public propertyShowSockets
Show element sockets in higher order elements.
Public propertyStrategy
The strategy to which the element is attached.
Public propertyTypeId
The unique identifier of the diagram element type.
Top
Methods
  NameDescription
Protected methodAddInput
To add an incoming connection.
Protected methodAddOutput
To add an outgoing connection.
Protected methodAddParam(IDiagramElementParam)
To add a parameter.
Protected methodAddParamT(String, T)
To add a parameter.
Protected methodAddSocket
To add a connection.
Public methodClone
Create a copy of DiagramElement.
Public methodDispose (Inherited from Disposable.)
Protected methodDisposeManaged (Inherited from Disposable.)
Protected methodDisposeNative (Inherited from Disposable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from Disposable.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetSocket
To get the connection by the message source socket.
Public methodGetSocketByUniqueKey
Get diagram socket by unique socket key.
Protected methodGetSourceElements
To get the sender elements by the connection object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit
To initialize the element.
Public methodLoad
Load settings.
(Overrides BaseLogSourceLoad(SettingsStorage).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnInit
The method is called at initialization of the diagram element.
Protected methodOnProcess
The method is called at the processing of the new incoming value.
Protected methodOnReseted
The method is called at re-initialisation of the diagram element state.
Protected methodOnSocketConnected
The method is called at subscription to the processing of diagram element output values.
Protected methodOnSocketDisconnected
The method is called at unsubscription from the processing of diagram element output values.
Protected methodOnStart
The method is called at the start of the diagram element algorithm.
Protected methodOnStop
The method is called at the stop of the diagram element algorithm.
Protected methodOnUnInit
The method is called at deinitialization of the diagram element.
Public methodProcess
To handle the incoming value.
Protected methodRaiseLog
To call the event Log.
(Inherited from BaseLogSource.)
Protected methodRaiseParameterValueChanged
To call the ParameterValueChanged event.
Protected methodRaiseProcessOutput(Object)
To call the event ProcessOutput.
Protected methodRaiseProcessOutput(DiagramSocketValue)
To call the event ProcessOutput.
Protected methodRaiseProcessOutput(DateTimeOffset, Object)
To call the event ProcessOutput.
Protected methodRaiseProcessOutput(DiagramSocket, Object)
To call the event ProcessOutput.
Protected methodRaiseProcessOutput(DiagramSocket, DateTimeOffset, Object)
To call the event ProcessOutput.
Protected methodRaisePropertiesChanged
To call the PropertiesChanged event.
Protected methodRaisePropertyChanged(String)
To call the PropertyChanged event.
Protected methodRaisePropertyChanged(Object, PropertyChangedEventArgs)
To call the PropertyChanged event.
Protected methodRaisePropertyChanging(String)
To call the PropertyChanging event.
Protected methodRaisePropertyChanging(Object, PropertyChangingEventArgs)
To call the PropertyChanging event.
Protected methodRaiseSocketChanged
To call the event SocketChanged.
Protected methodRemoveParam
To remove a parameter.
Protected methodRemoveSocket
To remove a connection.
Protected methodRemoveSockets
To remove all incoming and outgoing connections.
Public methodReset
To reinitialize the diagram element state.
Public methodSave
Save settings.
(Overrides BaseLogSourceSave(SettingsStorage).)
Protected methodSetElementName
Set element name.
Public methodStart
To start the diagram element algorithm.
Public methodStop
To stop the diagram element algorithm.
Protected methodThrowIfDisposed (Inherited from Disposable.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseLogSource.)
Public methodUnInit
The deinitialization of the element.
Top
Events
  NameDescription
Public eventLog
New debug message event.
(Inherited from BaseLogSource.)
Public eventParameterValueChanged
The diagram element parameter value change event.
Public eventProcessOutput
New data occurring event.
Public eventPropertiesChanged
The available properties change event.
Public eventPropertyChanged
The diagram element properties value change event.
Public eventPropertyChanging
The diagram element properties value changing event.
Public eventSocketAdded
The diagram element connection added event.
Public eventSocketChanged
The diagram element connection changed event.
Public eventSocketRemoved
The diagram element connection removed event.
Top
See Also
Inheritance Hierarchy
SystemObject
  Disposable
    StockSharp.LoggingBaseLogSource
      StockSharp.LoggingBaseLogReceiver
        StockSharp.Xaml.DiagramDiagramElement
          StockSharp.Xaml.DiagramCompositionDiagramElement
          StockSharp.Xaml.Diagram.ElementsAlertDiagramElement
          StockSharp.Xaml.Diagram.ElementsBaseStrategyDiagramElement
          StockSharp.Xaml.Diagram.ElementsCandleSourceDiagramElement
          StockSharp.Xaml.Diagram.ElementsChartDiagramElement
          StockSharp.Xaml.Diagram.ElementsCheckWorkingTimeDiagramElement
          StockSharp.Xaml.Diagram.ElementsComparisonDiagramElement
          StockSharp.Xaml.Diagram.ElementsIndexerDiagramElement
          StockSharp.Xaml.Diagram.ElementsIndicatorDiagramElement
          StockSharp.Xaml.Diagram.ElementsLevel1DiagramElement
          StockSharp.Xaml.Diagram.ElementsLogicalConditionDiagramElement
          StockSharp.Xaml.Diagram.ElementsLogicOneParamFunctionDiagramElement
          StockSharp.Xaml.Diagram.ElementsMarketDepthDiagramElement
          StockSharp.Xaml.Diagram.ElementsMarketDepthGroupedDiagramElement
          StockSharp.Xaml.Diagram.ElementsMarketDepthImpliedVolatilityDiagramElement
          StockSharp.Xaml.Diagram.ElementsMarketDepthSparsedDiagramElement
          StockSharp.Xaml.Diagram.ElementsMarketDepthTruncateDiagramElement
          StockSharp.Xaml.Diagram.ElementsMathDiagramElement
          StockSharp.Xaml.Diagram.ElementsOneParamFunctionDiagramElement
          StockSharp.Xaml.Diagram.ElementsOptionsBlackScholesDiagramElement
          StockSharp.Xaml.Diagram.ElementsOptionsHedgeDiagramElement
          StockSharp.Xaml.Diagram.ElementsOptionsQuotingDiagramElement
          StockSharp.Xaml.Diagram.ElementsOptionsStrikesDiagramElement
          StockSharp.Xaml.Diagram.ElementsOrderCancelElement
          StockSharp.Xaml.Diagram.ElementsOrderMassCancelElement
          StockSharp.Xaml.Diagram.ElementsOrderRegisterDiagramElement
          StockSharp.Xaml.Diagram.ElementsOrderReplaceElement
          StockSharp.Xaml.Diagram.ElementsOrderTradesDiagramElement
          StockSharp.Xaml.Diagram.ElementsPositionDiagramElement
          StockSharp.Xaml.Diagram.ElementsProtectPositionDiagramElement
          StockSharp.Xaml.Diagram.ElementsSecurityIndexDiagramElement
          StockSharp.Xaml.Diagram.ElementsStrategyPnLDiagramElement
          StockSharp.Xaml.Diagram.ElementsStrategyTradesDiagramElement
          StockSharp.Xaml.Diagram.ElementsTradeAllowedDiagramElement
          StockSharp.Xaml.Diagram.ElementsTwoParamFunctionDiagramElement
          StockSharp.Xaml.Diagram.ElementsTypedDiagramElementT