-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
438e992
commit d7c67bd
Showing
15 changed files
with
146 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
using ToSic.Eav.Documentation; | ||
//using ToSic.Eav.Documentation; | ||
|
||
// ReSharper disable once CheckNamespace | ||
namespace Custom.Dnn | ||
{ | ||
/// <summary> | ||
/// This is the type used by code-behind classes of razor components in 2sxc v12+ | ||
/// Use it to move logic / functions etc. into a kind of code-behind razor instead of as part of your view-template. | ||
/// </summary> | ||
/// <remarks> | ||
/// The Custom.Dnn.Razor12Code was created in 2sxc12 and has similar functionality to the previous <see cref="ToSic.Sxc.Dnn.RazorComponentCode"/>. | ||
/// It's different in an important way: it does not have `CustomizeData` or `CustomizeSearch` any more, since that's deprecated. | ||
/// If you think you still need that, then you must use the old base class | ||
/// </remarks> | ||
[PublicApi_Stable_ForUseInYourCode] | ||
public abstract class Razor12Code: Razor12 | ||
{ | ||
//// ReSharper disable once CheckNamespace | ||
//namespace Custom.Dnn | ||
//{ | ||
// /// <summary> | ||
// /// This is the type used by code-behind classes of razor components in 2sxc v12+ | ||
// /// Use it to move logic / functions etc. into a kind of code-behind razor instead of as part of your view-template. | ||
// /// </summary> | ||
// /// <remarks> | ||
// /// The Custom.Dnn.Razor12Code was created in 2sxc12 and has similar functionality to the previous <see cref="ToSic.Sxc.Dnn.RazorComponentCode"/>. | ||
// /// It's different in an important way: it does not have `CustomizeData` or `CustomizeSearch` any more, since that's deprecated. | ||
// /// If you think you still need that, then you must use the old base class | ||
// /// </remarks> | ||
// [PublicApi_Stable_ForUseInYourCode] | ||
// public abstract class Razor12Code: Razor12 | ||
// { | ||
|
||
|
||
} | ||
} | ||
// } | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 1 addition & 10 deletions
11
Src/Dnn/ToSic.Sxc.Razor/Dnn/RazorComponent.NewNotAvailable.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
using System; | ||
using ToSic.Eav.Documentation; | ||
using ToSic.SexyContent.Razor; | ||
using ToSic.Sxc.Web; | ||
|
||
namespace ToSic.Sxc.Dnn | ||
namespace ToSic.Sxc.Dnn | ||
{ | ||
public abstract partial class RazorComponent | ||
{ | ||
|
||
public const string NotImplementedUseCustomBase = "Use a newer base class like Custom.Hybrid.Razor12 or Custom.Dnn.Razor12 to leverage this."; | ||
|
||
//#region Convert-Service | ||
//[PrivateApi] | ||
//public new IxConvertService Convert => throw new NotSupportedException($"{nameof(Convert)} not implemented on {nameof(SexyContentWebPage)}. {NotImplementedUseCustomBase}"); | ||
//#endregion | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters