You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the code: var ExecutingAssembly = System.Reflection.Assembly.GetExecutingAssembly();
Display the following attributes of the .dll :
Version
Title (this will be the Extension)
Description
Company (this will be Maintainer) and apply a hyperlink
Product
Copyright
Trademark
Using the example code: string Title = ExecutingAssembly.GetCustomAttribute<AssemblyTitleAttribute>
The C Sharp Razor example (.cshtml) to dynamically write this out would be: @Raw(Model.Extension.Model.Version)
Navigation Bars
2 Navigation Bars need to be created for the About Page and the File Page. The following shows you how to re-use html using Razor @Include( )
Create a .cshtml file in a folder called SharedRazor - Call it something appropriate to the Navigation Bar. Use the Example Template below:
Now do the same for File.cshtml - You can do the same, or copy the Navigation Bar html directly into File.cshtml without referencing a new shared navigation bar template.
The text was updated successfully, but these errors were encountered:
Using the code:
var ExecutingAssembly = System.Reflection.Assembly.GetExecutingAssembly();
Display the following attributes of the .dll :
Using the example code:
string Title = ExecutingAssembly.GetCustomAttribute<AssemblyTitleAttribute>
The C Sharp Razor example (.cshtml) to dynamically write this out would be:
@Raw(Model.Extension.Model.Version)
Navigation Bars
2 Navigation Bars need to be created for the About Page and the File Page. The following shows you how to re-use html using Razor
@Include( )
You can create conditional html areas by using the following example:
@Include("MultiPlug.Ext.FileImporter.WHAT-EVER-YOU-CALLED-THE-TEMPLATE-ID-ABOVE")
The text was updated successfully, but these errors were encountered: