コード例 #1
0
        internal async Task <ChromiumSession> CreateSessionAsync(Protocol.Target.TargetInfo targetInfo)
        {
            string sessionId = (await RootSession.SendAsync(new TargetAttachToTargetRequest
            {
                TargetId = targetInfo.TargetId,
                Flatten = true,
            }).ConfigureAwait(false)).SessionId;

            return(await GetSessionAsync(sessionId).ConfigureAwait(false));
        }
コード例 #2
0
 //---------------------------------------------------------
 public override IFournisseurServicePourSessionClient GetFournisseur(string strService)
 {
     return(RootSession.GetFournisseur(strService));
 }
コード例 #3
0
 //---------------------------------------------------------
 ///////////////////////////////////////////////
 public override CServiceSurClient GetServiceSurClient(string strService)
 {
     return(RootSession.GetServiceSurClient(strService));
 }
コード例 #4
0
 //---------------------------------------------------------
 public override IServicePourSessionClient GetService(string strService, int nIdSession)
 {
     return(RootSession.GetService(strService, nIdSession));
 }