This project was generated by the ricaun.AppLoader Revit plugin.
This package uses the ricaun.DI package to provide the base implementation dependency injection container.
Add Revit UI singleton UIApplication
,UIControlledApplication
,Application
, and ControlledApplication
to the container.
UIApplication uiapp;
container.AddRevitSingleton(uiapp);
or
UIControlledApplication application;
container.AddRevitSingleton(application);
Add Revit DB singleton Application
, and ControlledApplication
to the container.
Application application;
container.AddRevitSingleton(application);
or
ControlledApplication application;
container.AddRevitSingleton(application);
The project ricaun.Revit.DI.Example provide an example of how to use the ricaun.Revit.DI package.
This project is licensed under the MIT Licence.
Do you like this project? Please star this project on GitHub!