Aracılığıyla paylaş


SimpleNodeAdapter Class

Definition

A mechansim that let a client adapters a custom object model into SfcSimpleNode.

The adapter provides default implementation by reflection, where possible.

public abstract class SimpleNodeAdapter
type SimpleNodeAdapter = class
Public MustInherit Class SimpleNodeAdapter
Inheritance
SimpleNodeAdapter

Constructors

SimpleNodeAdapter()

Methods

GetEnumerable(Object, String)

Get the named children enumerable of the specified object. The default implementation resolve the children by reflection.

GetObject(Object, String)

Get the named Child of the specified object. The default implementation resolve the child by reflection.

GetProperty(Object, String)

Get the named Property of the specified object. The default implementation resolve the property by reflection.

GetUrn(Object)

Get the Urn of the specified object

IsCriteriaMatched(Object)

Returns true if the specified children matches the adapter criteria and will be included in the result. The default implementation always return true.

IsSupported(Object)

Indicate if this provider support the specified graph. If it is, returns true, false otherwise.

The method is called only one on the top most node of each graph.

Applies to