Click or drag to resize
IDependOnTDependee Interface

[This is preliminary documentation and is subject to change.]

Implement and register this interface to hook restriction or reactions into processing of specific entities
A recomended name for implementing classes is in the form of a statement. Example: DeviceDependsOnDeviceDefinition

Namespace: Netadmin.Management.Common.Core
Assembly: Netadmin.Management (in Netadmin.Management.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
public interface IDependOn<in TDependee> : IDependOn

Type Parameters

TDependee
The type that is the dependee, that has the restriction This should always be the DTO interface of the type, no other types are supported Example: A device definition can not be removed if there are devices of that definition. TDependee in this case should be the IDeviceDefinition and not IDevice

The IDependOnTDependee type exposes the following members.

Methods
  NameDescription
Public method void Created(IEnumerableTDependee)
Public method void Deleted(IEnumerableInt64) (Inherited from IDependOn.)
Public methodIEnumerableT, T: KeyValuePairTKey, TValueGetAffectedEntities(IEnumerableInt64)
Returns the ids and object types of objects that should be cascade deleted
(Inherited from IDependOn.)
Public methodIEnumerableT, T: KeyValuePairTKey, TValueGetSubDependencies
Returns the sub-dependencies that would have to be validated when additional objects should be deleted
(Inherited from IDependOn.)
Public methodIEnumerableT, T: DependencyIssueIsDeletePossible(IEnumerableKeyValuePairType, IEnumerableInt64) (Inherited from IDependOn.)
Public method void Updated(TDependee)
Top
Implemented by
See Also