Table of Contents

Interface IHasIdentityNameId

Namespace
ToSic.Lib.Data
Assembly
ToSic.Lib.Core.dll

Special interface to ensure consistency across the code base. It's meant to ensure that any data which has an identity can also provide a string-based ID from that (could be a Guid.ToString()) or a real unique name.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public interface IHasIdentityNameId

Properties

NameId

Primary identifier of an object which has this property. It will be unique and used as an ID where needed.

string NameId { get; }

Property Value

string