Example #1
0
            protected override MethodDispatcherBuildResult BuildMethodDispatcher(Type interfaceType)
            {
                var actorEventInterfaceDescription = ActorEventInterfaceDescription.CreateUsingCRCId(interfaceType);
                var res = this.methodDispatcherBuilder.Build(actorEventInterfaceDescription);

                InterfaceDetailsStore.UpdateKnownTypeDetail(actorEventInterfaceDescription);
                return(res);
            }
Example #2
0
            protected override ProxyGeneratorBuildResult BuildProxyGenerator(Type interfaceType)
            {
                // get all event interfaces supported by this actorInterface and build method dispatchers for those
                var actorEventInterfaces = new[] { interfaceType };

                // create interface descriptions for all interfaces
                var actorEventInterfaceDescriptions = actorEventInterfaces.Select <Type, InterfaceDescription>(
                    t => ActorEventInterfaceDescription.CreateUsingCRCId(t));

                InterfaceDetailsStore.UpdateKnownTypesDetails(actorEventInterfaceDescriptions);

                return(this.proxyGeneratorBuilder.Build(interfaceType, actorEventInterfaceDescriptions));
            }