/// <summary> /// A static constructor. /// </summary> static BinaryMathOperation() { // Input descriptor. PinDescriptor in1 = new PinDescriptor(BinaryMathOperation.AllFormats, "Source 1"); PinDescriptor in2 = new PinDescriptor(BinaryMathOperation.AllFormats, "Source 2"); IPinRelation req = new PinEqual(in1, in2); InputDesc = new PinsDescriptor(req, in1, in2); }
/// <summary> /// A static constructor. /// </summary> static DotProductOperation() { // Input descriptor. PinDescriptor in1 = new PinDescriptor(DotProductOperation.InputFormats, "Source 1"); PinDescriptor in2 = new PinDescriptor(DotProductOperation.InputFormats, "Source 2"); IPinRelation req = new PinEqual(in1, in2); InputDesc = new PinsDescriptor(req, in1, in2); }