ViewComponentDescriptor.FullName ViewComponentDescriptor.FullName ViewComponentDescriptor.FullName Property


Gets or sets the full name.

public string FullName { get; set; }
member this.FullName : string with get, set
Public Property FullName As String

Property Value


The full name is defaulted to the full namespace of the view component class, prepended to the class name with a '.' character as the separator. If the view component class uses

as a suffix, the suffix will be omitted from the FullName.

Class Name: Contoso.Products.LoginViewComponent View Component FullName: Contoso.Products.Login
Class Name: Contoso.Blog.Tags View Component FullName: Contoso.Blog.Tags

If Name is used to set a name, then this will be used as the FullName.

[ViewComponent(Name = "Contoso.Forum.UsersOnline")] public class OnlineUsersViewComponent { } View Component FullName: Contoso.Forum.UsersOnline

Applies to