public MouseToMouseStateInStream(IIOFactory factory, INodeIn nodeIn) { FFactory = factory; FNodeIn = nodeIn; FAutoValidate = nodeIn.AutoValidate; FFactory.Flushing += FFactory_Flushing; }
public NodeInStream(INodeIn nodeIn, IConnectionHandler handler) { FNodeIn = nodeIn; FNodeIn.SetConnectionHandler(handler, this); FAutoValidate = nodeIn.AutoValidate; FUpstreamStream = FNullStream; }
public KeyboardToKeyboardStateInStream(IIOFactory factory, INodeIn nodeIn) { FFactory = factory; FNodeIn = nodeIn; FAutoValidate = nodeIn.AutoValidate; FFactory.Flushing += FFactory_Flushing; }
public DX11ResourceInputStream(INodeIn nodeIn) { FNodeIn = nodeIn; FNodeIn.SetConnectionHandler(new DX11ResourceConnectionHandler(), this); FAutoValidate = nodeIn.AutoValidate; IsChanged = true; }
public static INodeIn CreateNodeInput(this IPluginHost host, InputAttribute attribute, Type type) { INodeIn result = null; host.CreateNodeInput(attribute.Name, (TSliceMode)attribute.SliceMode, (TPinVisibility)attribute.Visibility, out result); result.SetSubType2(type, new Guid[] { type.GUID }, type.GetCSharpName()); SetInputProperties(result, attribute); return(result); }
public NodeInStream(INodeIn nodeIn, IConnectionHandler handler, T defaultValue = default(T)) { FNodeIn = nodeIn; if (typeof(T).Assembly.IsDynamic) { FNodeIn.SetConnectionHandler(handler, new DynamicTypeWrapper(this)); } else { FNodeIn.SetConnectionHandler(handler, this); } FAutoValidate = nodeIn.AutoValidate; FDefaultValue = defaultValue; FUpstreamStream = FNullStream; }
public NodeInStream(INodeIn nodeIn, IConnectionHandler handler, T defaultValue = default(T)) { handler = handler ?? new DefaultConnectionHandler(null, typeof(T)); FNodeIn = nodeIn; object inputInterface; if (typeof(T).UsesDynamicAssembly()) { inputInterface = new DynamicTypeWrapper(this); } else { inputInterface = this; } FNodeIn.SetConnectionHandler(handler, inputInterface); FAutoValidate = nodeIn.AutoValidate; FDefaultValue = defaultValue; FUpstreamStream = FNullStream; }
public DynamiclyTypedSpread(INodeIn nodeIn) { NodeIn = nodeIn; }
public NodeInStream(INodeIn nodeIn) : this(nodeIn, new DefaultConnectionHandler()) { }
public NodeInStream(INodeIn nodeIn) : this(nodeIn, null) { }
public void CreateNodeInput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out INodeIn Pin) { Pin = new TNodePin(this, Name, TPinDirection.Input, SliceMode, Visibility); AddPin(Pin as TBasePin); }
public MouseToMouseStateInStream(INodeIn nodeIn) { FNodeIn = nodeIn; FAutoValidate = nodeIn.AutoValidate; }
public KeyboardToKeyboardStateInStream(INodeIn nodeIn) { FNodeIn = nodeIn; FAutoValidate = nodeIn.AutoValidate; }