public override bool IsEquivalentInstaller(ComponentInstaller otherInstaller)
 {
     EventLogInstaller installer = otherInstaller as EventLogInstaller;
     if (installer == null)
     {
         return false;
     }
     return (installer.Source == this.Source);
 }
 /// <include file='doc\ComponentInstaller.uex' path='docs/doc[@for="ComponentInstaller.IsEquivalentInstaller"]/*' />
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public virtual bool IsEquivalentInstaller(ComponentInstaller otherInstaller)
 {
     return(false);
 }
Exemplo n.º 3
0
        /// <include file='doc\MessageQueueInstaller.uex' path='docs/doc[@for="MessageQueueInstaller.IsEquivalentInstaller"]/*' />
        /// <devdoc>
        ///    <para>[To be supplied.]</para>
        /// </devdoc>
        public override bool IsEquivalentInstaller(ComponentInstaller otherInstaller)
        {
            MessageQueueInstaller other = otherInstaller as MessageQueueInstaller;
            if (other == null)
                return false;

            return other.Path == Path;
        }
 public virtual new bool IsEquivalentInstaller (ComponentInstaller otherInstaller)
 {
   return default(bool);
 }
	// Determine if another installer is equivalent to this one.
	public virtual bool IsEquivalentInstaller
				(ComponentInstaller otherInstaller)
			{
				return false;
			}
		public override bool IsEquivalentInstaller (ComponentInstaller otherInstaller) {
			throw new NotImplementedException ();
		}
Exemplo n.º 7
0
 public override bool IsEquivalentInstaller(ComponentInstaller otherInstaller)
 {
     ServiceInstallerEx installer = otherInstaller as ServiceInstallerEx;
     if (installer == null)
     {
         return false;
     }
     return (installer.ServiceName == this.ServiceName);
 }
 public virtual new bool IsEquivalentInstaller(ComponentInstaller otherInstaller)
 {
     return(default(bool));
 }
	// Determine if another installer is equivalent to this one.
	public override bool IsEquivalentInstaller
				(ComponentInstaller otherInstaller)
			{
				EventLogInstaller other = (otherInstaller as EventLogInstaller);
				if(other != null)
				{
					if(log == other.log && source == other.source)
					{
						return true;
					}
				}
				return false;
			}