{
public class ServiceProcessInstaller : System.Configuration.Install.ComponentInstaller
{
- public ServiceProcessInstaller () {}
+ public ServiceProcessInstaller ()
+ {
+ }
private ServiceAccount account;
private string password;
private string username;
[DefaultValue (ServiceAccount.User)]
-#if NET_2_0
[ServiceProcessDescription ("Indicates the account type under which the service will run.")]
-#endif
public ServiceAccount Account {
get {
return account;
}
}
- public override void CopyFromComponent (IComponent component) {
- if (!component.GetType ().IsSubclassOf (typeof (ServiceBase)))
+ public override void CopyFromComponent (IComponent comp)
+ {
+ if (!comp.GetType ().IsSubclassOf (typeof (ServiceBase)))
throw new ArgumentException ();
}
- public override void Install (IDictionary stateSaver) {
+ public override void Install (IDictionary stateSaver)
+ {
throw new NotImplementedException ();
}
- public override void Rollback (IDictionary savedState) {
+ public override void Rollback (IDictionary savedState)
+ {
throw new NotImplementedException ();
}
}