How to pass parameters to Nuget package

Viewed 343

I have made Nuget package from Blazor Hosted app.The problem is that I don't know how to get/pass parameters from others project to consume it in my package.I see that I have App.razor and MainLayot. App.razor

<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true">
<Found Context="routeData">
    <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
</Found>
<NotFound>
    <LayoutView Layout="@typeof(MainLayout)">
        <p>Sorry, there's nothing at this address.</p>
    </LayoutView>
</NotFound>
If I want to make something like this.I want to use my packege like this.
<App Options="options" />
 @*Here I want to pass parameter to my package.*@
0 Answers
Related