LifetimeContext.AllocateSharingId Method

Definition

Generates an identifier that can be used to locate shared part instances.

C#
public static int AllocateSharingId();

Returns

A new unique identifier.

Applies to

Proizvod Verzije
.NET Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)