public RoundStockMacroFeature() : base() { m_StockModel = ServicesContainer.Instance.GetService <RoundStockModel>(); m_Controller = ServicesContainer.Instance.GetService <RoundStockController>(); m_Controller.FeatureEditingCompleted += OnFeatureEditingCompleted; }
public RoundStockController(ISldWorks app, RoundStockModel model, IUserSettingsService opts) { m_App = app; m_Model = model; m_UserSetts = opts; }
public void OnInitialize() { var prms = new TestServiceStartupParameters() { ConnectOption = AppConnectOption_e.ConnectToProcess, ConnectionDetails = new ConnectToProcessConnectionDetails() { ProcessToConnect = 10640 } }; Sw = new TestService(prms); m_StockModel = new ServicesContainer(Sw.SldWorks).GetService <RoundStockModel>(); }