예제 #1
0
 void OnComplete(GeneratorCompleteEventArgs e)
 {
     if (Complete != null)
     {
         Complete(this, e);
     }
 }
예제 #2
0
 void ServiceReferenceGenerated(object sender, GeneratorCompleteEventArgs e)
 {
     if (e.IsSuccess)
     {
         new RefreshProjectBrowser().Run();
     }
 }
예제 #3
0
        void ProxyFileGenerationComplete(object sender, GeneratorCompleteEventArgs e)
        {
            if (e.IsSuccess)
            {
                UpdateProjectWithGeneratedServiceReference();
            }

            if (tempAppConfigFileName != null)
            {
                if (e.IsSuccess)
                {
                    UpdateAppConfigInTextEditor();
                }
                DeleteTempAppConfigFile();
            }
            OnComplete(e);
        }
		void SvcUtilRunCompleted(int exitCode)
		{
			var eventArgs = new GeneratorCompleteEventArgs(exitCode);
			fakeProxyGenerator.Raise(g => g.Complete += null, fakeProxyGenerator, eventArgs);
		}
 void ServiceReferenceGenerated(object sender, GeneratorCompleteEventArgs e)
 {
     if (e.IsSuccess) {
         new RefreshProjectBrowser().Run();
     }
 }
		void OnComplete(GeneratorCompleteEventArgs e)
		{
			if (Complete != null) {
				Complete(this, e);
			}
		}
		void ProxyFileGenerationComplete(object sender, GeneratorCompleteEventArgs e)
		{
			if (e.IsSuccess) {
				UpdateProjectWithGeneratedServiceReference();
			}
			
			if (tempAppConfigFileName != null) {
				if (e.IsSuccess) {
					UpdateAppConfigInTextEditor();
				}
				DeleteTempAppConfigFile();
			}
			OnComplete(e);
		}