[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 depenencies on other services.

## Declaration

Source position: daemonapp.pp line 148

`type TDependency = class(TCollectionItem)`
`protected`
`function GetDisplayName; override;`
`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 depenencies on other services.
`TCollectionItem`
`TPersistent`
`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

The latest version of this document can be found at lazarus-ccr.sourceforge.net .