diff --git a/Oqtane.Client/UI/ModuleInstance.placeholder.cs b/Oqtane.Client/UI/ModuleInstance.placeholder.cs new file mode 100644 index 00000000..f5899b5e --- /dev/null +++ b/Oqtane.Client/UI/ModuleInstance.placeholder.cs @@ -0,0 +1,13 @@ +// This is just a placeholder file +// It is necessary for the documentation to successfully build this project. +// Reason is that docfx will run the .net compiler and find references +// to this class in the project. +// But since the real class is just a .razor file, ATM docfx will fail. +// +// Note added 2024-06-27 by @iJungleboy. +// We hope that as .net and docfx improve, the razor-compiler will work in that scenario +// as well, and this file can be removed. + +namespace Oqtane.UI; + +public partial class ModuleInstance; diff --git a/Oqtane.Client/UI/RenderModeBoundary.placeholder.cs b/Oqtane.Client/UI/RenderModeBoundary.placeholder.cs new file mode 100644 index 00000000..838231d8 --- /dev/null +++ b/Oqtane.Client/UI/RenderModeBoundary.placeholder.cs @@ -0,0 +1,13 @@ +// This is just a placeholder file +// It is necessary for the documentation to successfully build this project. +// Reason is that docfx will run the .net compiler and find references +// to this class in the project. +// But since the real class is just a .razor file, ATM docfx will fail. +// +// Note added 2024-06-27 by @iJungleboy. +// We hope that as .net and docfx improve, the razor-compiler will work in that scenario +// as well, and this file can be removed. + +namespace Oqtane.UI; + +public partial class RenderModeBoundary; diff --git a/Oqtane.Server/Components/_Placeholder.cs b/Oqtane.Server/Components/_Placeholder.cs new file mode 100644 index 00000000..570e95ac --- /dev/null +++ b/Oqtane.Server/Components/_Placeholder.cs @@ -0,0 +1,16 @@ +// This is just a placeholder file +// It is necessary for the documentation to successfully build this project. +// Reason is that docfx will run the .net compiler and find references +// to this class in the project. +// But since the real class is just a .razor file, ATM docfx will fail. +// +// Note added 2024-06-27 by @iJungleboy. +// We hope that as .net and docfx improve, the razor-compiler will work in that scenario +// as well, and this file can be removed. + +using Oqtane.Documentation; + +namespace Oqtane.Components; + +[PrivateApi] +public class _Placeholder;