public void OnImportsSatisfied() { FXSpread = new DynamiclyTypedSpread(FX); // the following internally sets some legacy "or-connection handler" FX.SetSubType( new Guid[] { typeof(IValueData).GUID, typeof(IColorData).GUID, typeof(IStringData).GUID, typeof(IRawData).GUID, typeof(SomeTypeA).GUID, }, "Value | Color | String | Raw | SomeTypeA"); }
public void OnImportsSatisfied() { FXSpread = new DynamiclyTypedSpread(FX); FX.SetConnectionHandler(this, null); // the following internally sets some legacy "or-connection handler" // FX.SetSubType( // new Guid[]{ // typeof(IValueData).GUID, // typeof(IColorData).GUID, // typeof(IStringData).GUID, // typeof(IRawData).GUID, // typeof(SomeType<>).GUID, // }, // "Value | Color | String | Raw | any SomeType instanciation"); }