RegisterPipe(String, String, IPipeFitting)
Register a pipe with the junction.
Namespace: Pipes.PlumbingAssembly: Pipes in (Pipes.dll)
Syntax
C#
public bool RegisterPipe( string name, string type, IPipeFitting pipe )
Parameters
nameStringname of the pipe
typeStringtype (INPUT/OUTPUT) of the pipe
pipeIPipeFittingPipefitting
Returns
Boolean
true if successfully registered. false if another pipe exists by that name.
Remarks
Pipes are registered by unique name and type, which must be either Junction.INPUTor Junction.OUTPUT.
NOTE: You cannot have an INPUT pipe and an OUTPUT pipe registered with the same name. All pipe names must be unique regardless of type.