Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 2.2 KB

README.md

File metadata and controls

58 lines (41 loc) · 2.2 KB

ricaun.Revit.DI

Revit 2017 Visual Studio 2022 Nuke License MIT Build Release

ricaun.Revit.DI

This project was generated by the ricaun.AppLoader Revit plugin.

ricaun.DI

This package uses the ricaun.DI package to provide the base implementation dependency injection container.

ricaun.Revit.DI

AddRevitSingleton

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);

ricaun.Revit.DI.Example

The project ricaun.Revit.DI.Example provide an example of how to use the ricaun.Revit.DI package.

Release

License

This project is licensed under the MIT Licence.


Do you like this project? Please star this project on GitHub!