Exemplo n.º 1
0
 void OnComplete(GeneratorCompleteEventArgs e)
 {
     if (Complete != null)
     {
         Complete(this, e);
     }
 }
Exemplo n.º 2
0
 void ServiceReferenceGenerated(object sender, GeneratorCompleteEventArgs e)
 {
     if (e.IsSuccess)
     {
         new RefreshProjectBrowser().Run();
     }
 }
Exemplo n.º 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);
		}