Example #1
0
        public static void DefaultConfigurationAction(IRpcApi api)
        {
            api.ExposeModules();

            api.Expose(Assembly.GetEntryAssembly().ExportedTypes).OnlyAttributed();
        }
Example #2
0
 protected override void ApiRegistration(IRpcApi api)
 {
     api.ExposeModules(new[] { typeof(TestModule) });
 }