Пример #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);
		}