Class SerenityIdFromFileNameAttribute
Marks a settings type whose Id is its file name when an asset of it is made with no identity at all — the right-click Assets ▸ Create menu, which has no field to type an Id into. The asset lands with the Id its own wizard would have written for a file of that name, instead of a blank Id nothing can find it by. An Id already written, by an author or a wizard, is never replaced.
Implements
Inherited Members
Namespace: Serenity.Shared.Attributes
Assembly: Serenity.Shared.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class SerenityIdFromFileNameAttribute : Attribute, _Attribute
Constructors
SerenityIdFromFileNameAttribute()
Declaration
public SerenityIdFromFileNameAttribute()