Exemple #1
0
 public frmMain(IServiceActor serviceActor, IServiceFilm serviceFilm, IServiceDirector serviceDirector, IServiceFilmType serviceFilmType, IServiceProducer serviceProducer, IServiceUser serviceUser, IServiceWriter serviceWriter)
 {
     _serviceActor    = serviceActor;
     _serviceFilm     = serviceFilm;
     _serviceDirector = serviceDirector;
     _serviceFilmType = serviceFilmType;
     _serviceProducer = serviceProducer;
     _serviceUser     = serviceUser;
     _serviceWriter   = serviceWriter;
     InitializeComponent();
 }
Exemple #2
0
 public frmMain(IServiceActor serviceActor, IServiceFilm serviceFilm, IServiceDirector serviceDirector, IServiceFilmType serviceFilmType, IServiceProducer serviceProducer, IServiceUser serviceUser, IServiceWriter serviceWriter)
 {
     _serviceActor = serviceActor;
     _serviceFilm = serviceFilm;
     _serviceDirector = serviceDirector;
     _serviceFilmType = serviceFilmType;
     _serviceProducer = serviceProducer;
     _serviceUser = serviceUser;
     _serviceWriter = serviceWriter;
     InitializeComponent();
 }
        protected override IServiceActor <AmpMessage> GetNotFoundActor()
        {
            if (_proxy_not_found_actor != null)
            {
                return(this._proxy_not_found_actor);
            }

            var actor = base.GetNotFoundActor();

            this._proxy_not_found_actor = this._generator.CreateInterfaceProxyWithTarget(actor, ActorInterceptor);
            return(this._proxy_not_found_actor);
        }
Exemple #4
0
 public FilmController(IServiceFilm serviceFilm,IServiceActor serviceActor)
 {
     _serviceFilm = serviceFilm;
     _serviceActor = serviceActor;
 }
 protected virtual string GetServiceName(RpcServerOptions optionValue, IServiceActor <AmpMessage> actor)
 {
     return($"{optionValue.AppName}-{actor.GroupName}");
 }
Exemple #6
0
 public FilmController(IServiceFilm serviceFilm, IServiceActor serviceActor)
 {
     _serviceFilm  = serviceFilm;
     _serviceActor = serviceActor;
 }
Exemple #7
0
 public ActorController(IServiceActor serviceActor)
 {
     _serviceActor = serviceActor;
 }