Skip to content

,System.Object,System.Boolean)}

TrackingConfiguration.Id(Func, object?, bool) method

Defined in

Type: TrackingConfiguration Namespace: CrissCross.WPF.UI.Configuration Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public TrackingConfiguration<T> Id(Func<T, string> idFunc, object? @namespace = null, bool includeType = true)

Summary: Identifiers the specified identifier function.

Parameters

NameTypeDescription
idFuncFuncThe provided function will be used to get an identifier for a target object in order to identify the data that belongs to it.
namespace = nullobject?Serves to distinguish objects with the same ids that are used in different contexts.
includeType = trueboolIf true, the name of the type will be included in the id. This prevents id clashes with different types.

Returns: TrackingConfiguration -- Tracking Configuration.