[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'daemonapp' (#fcl)

# TDependency

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Container to define dependencies on other services.

## Declaration

Source position: daemonapp.pp line 155

`type TDependency = class(TCollectionItem)`
`public`
`procedure Assign(); override;` |  | Assign TDependency instance to another
`published`
`property Name: string; [rw]` |  | Name of the service
`property IsGroup: Boolean; [rw]` |  | Name refers to a service group
`end;`

## Inheritance

`TDependency` |  | Container to define dependencies on other services.
`TCollectionItem`
`TPersistent,IFPObserved`
`TObject`

## Description

TDependency is a collection item used to specify dependencies on other daemons (services) in windows. It is used only on windows and when installing the daemon: changing the dependencies of a running daemon has no effect.

## See also

TDependencies |  | Dependencies collection for a daemon
TDaemonDef |  | Daemon definition