forked from opensim/opensim
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mono.Addins is gone. Its not fully supported on dotnet6+ anyway. Swit…
…ching to use the Host Container in dotnet core with Autofac as the underlying DI engine, This allow instantiating what were traditionally plugins using DI features. Each DLL supplying plugins also supplies its own initialization, registering plugins with the DI system. This is a milestone but more needs to be completed and all of it needs testing.
- Loading branch information
Showing
316 changed files
with
4,233 additions
and
5,007 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using Autofac; | ||
using OpenSim.Groups; | ||
using OpenSim.Region.Framework.Interfaces; | ||
|
||
namespace OpenSim.Groups | ||
{ | ||
public class GroupsAddonModule : Module | ||
{ | ||
protected override void Load(ContainerBuilder builder) | ||
{ | ||
builder.RegisterType<GroupsMessagingModule>() | ||
.Named<ISharedRegionModule>("GroupsMessagingModule") | ||
.AsImplementedInterfaces() | ||
.SingleInstance(); | ||
|
||
builder.RegisterType<GroupsModule>() | ||
.Named<ISharedRegionModule>("GroupsModule") | ||
.AsImplementedInterfaces() | ||
.SingleInstance(); | ||
|
||
builder.RegisterType<GroupsServiceHGConnectorModule>() | ||
.Named<ISharedRegionModule>("GroupsServiceHGConnectorModule") | ||
.AsImplementedInterfaces() | ||
.SingleInstance(); | ||
|
||
builder.RegisterType<GroupsServiceLocalConnectorModule>() | ||
.Named<ISharedRegionModule>("GroupsServiceLocalConnectorModule") | ||
.AsImplementedInterfaces() | ||
.SingleInstance(); | ||
|
||
builder.RegisterType<GroupsServiceRemoteConnectorModule>() | ||
.Named<ISharedRegionModule>("GroupsServiceRemoteConnectorModule") | ||
.AsImplementedInterfaces() | ||
.SingleInstance(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.