Is there way to create a Blazor component private for the project that it is being used in?
For example, let's look at Razor Class Library ProjectOne that contains two components: omponent ComponentA and component ComponentB. The component ComponentB is child of component ComponentA.
ProjectOne structure:
ProjectOne
---- Components
---------- ComponentA.razor
---------- ComponentB.razor
There is another project which is Blazor application ProjectTwo. There is a reference in this project to ProjectOne. When calling component ComponentA in razor page, the child component ComponentB is visible and accessable as well.
Is there a way to create this child component ComponentB internal only for project ProjectOne where it is being used within the component ComponentA?