Exemplo n.º 1
0
 public void Dispose()
 {
     if (service != null)
     {
         try {
             service.Exit();
         }
         catch (RemotingException) {
             // Couldn't connect
         }
         catch (SerializationException) {
             // For this: "End of Stream encountered before parsing was completed."
         }
         service = null;
     }
     if (loader != null)
     {
         loader.Dispose();
         loader = null;
     }
 }
Exemplo n.º 2
0
		public void Dispose() {
			if (service != null) {
				try {
					service.Exit();
				}
				catch (RemotingException) {
					// Couldn't connect
				}
				catch (SerializationException) {
					// For this: "End of Stream encountered before parsing was completed."
				}
				service = null;
			}
			if (loader != null) {
				loader.Dispose();
				loader = null;
			}
		}
Exemplo n.º 3
0
 public AssemblyClient(IAssemblyServerLoader loader)
 {
     this.loader = loader;
 }
Exemplo n.º 4
0
		public AssemblyClient(IAssemblyServerLoader loader) {
			this.loader = loader;
		}