//=======================================================================================
 void EnsureInitialized()
 {
     if (!this.initialized)
     {
         lock (this)
         {
             if (!this.initialized)
             {
                 this.wsatConfig = new WsatConfiguration();
                 this.wsatProxy = new WsatProxy(this.wsatConfig, this.protocolVersion);
                 this.initialized = true;
             }
         }
     }
 }
Ejemplo n.º 2
0
 //=======================================================================================
 void EnsureInitialized()
 {
     if (!this.initialized)
     {
         lock (this)
         {
             if (!this.initialized)
             {
                 this.wsatConfig  = new WsatConfiguration();
                 this.wsatProxy   = new WsatProxy(this.wsatConfig, this.protocolVersion);
                 this.initialized = true;
             }
         }
     }
 }
 public WsatProxy(WsatConfiguration wsatConfig, ProtocolVersion protocolVersion)
 {
     this.wsatConfig      = wsatConfig;
     this.protocolVersion = protocolVersion;
 }
 public WsatProxy(WsatConfiguration wsatConfig, ProtocolVersion protocolVersion)
 {
     this.wsatConfig = wsatConfig;
     this.protocolVersion = protocolVersion;
 }