Class SlotFinder
Default implementation of IGetsSlots which gets a collection of slot-fillers for an node.
Inheritance
System.Object
SlotFinder
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Metal
Assembly: ZptSharp.dll
Syntax
public class SlotFinder : IGetsSlots
Constructors
| Improve this Doc View SourceSlotFinder(IGetsMetalAttributeSpecs, ISearchesForAttributes)
Initializes a new instance of the SlotFinder class.
Declaration
public SlotFinder(IGetsMetalAttributeSpecs specProvider, ISearchesForAttributes attributeFinder)
Parameters
Type | Name | Description |
---|---|---|
IGetsMetalAttributeSpecs | specProvider | Spec provider. |
ISearchesForAttributes | attributeFinder | Attribute finder. |
Methods
| Improve this Doc View SourceGetDefinedSlots(INode)
Gets the defined slots from the specified node
and its descendents.
Declaration
public IEnumerable<Slot> GetDefinedSlots(INode node)
Parameters
Type | Name | Description |
---|---|---|
INode | node | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Slot> | The defined slots. |
GetSlotFillers(INode)
Gets the slot fillers from the specified node
and its descendents.
Declaration
public IEnumerable<Slot> GetSlotFillers(INode node)
Parameters
Type | Name | Description |
---|---|---|
INode | node | Node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Slot> | The slot fillers. |