StateElementAdapterHelpersCreateAdapterBetweenSegments Method  | 
  
    Namespace: 
   AGI.Foundation.SegmentPropagation
    Assembly:
   AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static StateElementAdapter CreateAdapterBetweenSegments(
	string element,
	SegmentDefinition from,
	SegmentDefinition to,
	EvaluatorGroup group
)
Public Shared Function CreateAdapterBetweenSegments ( 
	element As String,
	from As SegmentDefinition,
	to As SegmentDefinition,
	group As EvaluatorGroup
) As StateElementAdapter
public:
static StateElementAdapter^ CreateAdapterBetweenSegments(
	String^ element, 
	SegmentDefinition^ from, 
	SegmentDefinition^ to, 
	EvaluatorGroup^ group
)
static member CreateAdapterBetweenSegments : 
        element : string * 
        from : SegmentDefinition * 
        to : SegmentDefinition * 
        group : EvaluatorGroup -> StateElementAdapter 
Parameters
- element
 - Type: SystemString
The string identification of the element being adapted. - from
 - Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The segment to adapt the element from. - to
 - Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The segment to adapt the element to. - group
 - Type: AGI.FoundationEvaluatorGroup
The EvaluatorGroup to use to create the adapter. 
Return Value
Type: 
StateElementAdapter
            The 
StateElementAdapter going between the two segments, or 
 if 
            one or both of the segments does not contain that element.
            
Exceptions
See Also