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

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