Sage Modeling and Simulation Library

SimpleOutputPort..::..Peek Method

Nonconsumptively returns the contents of this port. A subsequent Take may or may not produce the same object, if, for example, the stuff produced from this port is time-sensitive.

Namespace:  Highpoint.Sage.ItemBased.Ports
Assembly:  Sage4 (in Sage4.dll)


public Object Peek(
	Object selector


Type: Object
An object that is used in the dataProvider to determine which of potentially more than one available data element is to be provided to the requestor.

Return Value

The current contents of this port. Null if this port is not peekable.