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); }
public FilmController(IServiceFilm serviceFilm,IServiceActor serviceActor) { _serviceFilm = serviceFilm; _serviceActor = serviceActor; }
protected virtual string GetServiceName(RpcServerOptions optionValue, IServiceActor <AmpMessage> actor) { return($"{optionValue.AppName}-{actor.GroupName}"); }
public FilmController(IServiceFilm serviceFilm, IServiceActor serviceActor) { _serviceFilm = serviceFilm; _serviceActor = serviceActor; }
public ActorController(IServiceActor serviceActor) { _serviceActor = serviceActor; }