示例#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;
     }
 }
示例#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;
			}
		}
示例#3
0
 public AssemblyClient(IAssemblyServerLoader loader)
 {
     this.loader = loader;
 }
示例#4
0
		public AssemblyClient(IAssemblyServerLoader loader) {
			this.loader = loader;
		}