Add many PrivateApi attributes to hide unimportant stuff in docs
This commit is contained in:
		| @ -1,7 +1,9 @@ | ||||
| using Oqtane.Models; | ||||
| using Oqtane.Documentation; | ||||
| using Oqtane.Models; | ||||
|  | ||||
| namespace Oqtane.Modules.Admin.ModuleCreator | ||||
| { | ||||
|     [PrivateApi("Mark this as private, since it's not very useful in the public docs")] | ||||
|     public class ModuleInfo : IModule | ||||
|     { | ||||
|         public ModuleDefinition ModuleDefinition => new ModuleDefinition | ||||
|  | ||||
| @ -1,7 +1,9 @@ | ||||
| using Oqtane.Documentation; | ||||
| using Oqtane.Models; | ||||
|  | ||||
| namespace Oqtane.Modules.HtmlText | ||||
| { | ||||
|     [PrivateApi("Mark HtmlText classes as private, since it's not very useful in the public docs")] | ||||
|     public class ModuleInfo : IModule | ||||
|     { | ||||
|         public ModuleDefinition ModuleDefinition => new ModuleDefinition | ||||
|  | ||||
| @ -1,10 +1,12 @@ | ||||
| using System.Net.Http; | ||||
| using System.Threading.Tasks; | ||||
| using Oqtane.Documentation; | ||||
| using Oqtane.Services; | ||||
| using Oqtane.Shared; | ||||
|  | ||||
| namespace Oqtane.Modules.HtmlText.Services | ||||
| { | ||||
|     [PrivateApi("Mark HtmlText classes as private, since it's not very useful in the public docs")] | ||||
|     public class HtmlTextService : ServiceBase, IHtmlTextService, IService | ||||
|     {         | ||||
|         public HtmlTextService(HttpClient http, SiteState siteState) : base(http, siteState) {} | ||||
|  | ||||
| @ -1,9 +1,11 @@ | ||||
| using System.Collections.Generic; | ||||
| using System.Collections.Generic; | ||||
| using System.Threading.Tasks; | ||||
| using Oqtane.Documentation; | ||||
| using Oqtane.Modules.HtmlText.Models; | ||||
|  | ||||
| namespace Oqtane.Modules.HtmlText.Services | ||||
| { | ||||
|     [PrivateApi("Mark HtmlText classes as private, since it's not very useful in the public docs")] | ||||
|     public interface IHtmlTextService  | ||||
|     { | ||||
|         Task<Models.HtmlText> GetHtmlTextAsync(int ModuleId); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 ijungleboy
					ijungleboy