/// <summary> /// Default constructor /// </summary> protected AbstractDataTransformer() { Portable.Interfaces.IDataRuntimeFactory factory = StaticExtensionDataPerformerPortable.Factory; Diagram.UI.Interfaces.IComponentCollection collection = factory.CreateCollection(this, 0, StaticExtensionDataPerformerInterfaces.Calculation); //!!! runtime = this.CreateRuntime(StaticExtensionDataPerformerInterfaces.Calculation); }
/// <summary> /// Creates runtime /// </summary> protected void CreateRuntime() { Portable.Interfaces.IDataRuntimeFactory factory = StaticExtensionDataPerformerPortable.Factory; // Diagram.UI.Interfaces.IComponentCollection collection = // factory.CreateCollection(this, 0, StaticExtensionDataPerformerInterfaces.Calculation); // runtime = factory.Create(collection, 0, StaticExtensionDataPerformerInterfaces.Calculation); runtime = this.CreateRuntime(StaticExtensionDataPerformerInterfaces.Calculation); }