WIP
parent
3a5c8ec8a8
commit
356953cad7
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using ln.logging;
|
||||
namespace ln.types.rpc
|
||||
{
|
||||
public class PublishAttribute : Attribute
|
||||
|
@ -22,6 +23,7 @@ namespace ln.types.rpc
|
|||
throw new ArgumentOutOfRangeException(nameof(moduleName), "Module with same name already added");
|
||||
|
||||
RPCModule rpcModule = new RPCModule(moduleName,moduleInstance);
|
||||
Logging.Log(LogLevel.DEBUG, "ServiceContainer: Adding RPC Module: {0}", moduleName);
|
||||
modules.Add(moduleName, rpcModule);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue