-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Showing
21 changed files
with
62 additions
and
284 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
18 changes: 2 additions & 16 deletions
18
src/OrchardCore.Modules/OrchardCore.Facebook/Deployment/FacebookLoginDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Facebook.Deployment; | ||
|
||
public sealed class FacebookLoginDeploymentStepDriver : DisplayDriver<DeploymentStep, FacebookLoginDeploymentStep> | ||
public sealed class FacebookLoginDeploymentStepDriver | ||
: DeploymentStepDriverBase<FacebookLoginDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(FacebookLoginDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("FacebookLoginDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("FacebookLoginDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(FacebookLoginDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("FacebookLoginDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
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
18 changes: 2 additions & 16 deletions
18
src/OrchardCore.Modules/OrchardCore.Layers/Deployment/AllLayersDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Layers.Deployment; | ||
|
||
public sealed class AllLayersDeploymentStepDriver : DisplayDriver<DeploymentStep, AllLayersDeploymentStep> | ||
public sealed class AllLayersDeploymentStepDriver | ||
: DeploymentStepDriverBase<AllLayersDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(AllLayersDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("AllLayersDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("AllLayersDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(AllLayersDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("AllLayersDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
18 changes: 2 additions & 16 deletions
18
src/OrchardCore.Modules/OrchardCore.Media/Deployment/AllMediaProfilesDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Media.Deployment; | ||
|
||
public sealed class AllMediaProfilesDeploymentStepDriver : DisplayDriver<DeploymentStep, AllMediaProfilesDeploymentStep> | ||
public sealed class AllMediaProfilesDeploymentStepDriver | ||
: DeploymentStepDriverBase<AllMediaProfilesDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(AllMediaProfilesDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("AllMediaProfilesDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("AllMediaProfilesDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(AllMediaProfilesDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("AllMediaProfilesDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
18 changes: 2 additions & 16 deletions
18
...re.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Microsoft.Authentication.Deployment; | ||
|
||
public sealed class AzureADDeploymentStepDriver : DisplayDriver<DeploymentStep, AzureADDeploymentStep> | ||
public sealed class AzureADDeploymentStepDriver | ||
: DeploymentStepDriverBase<AzureADDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(AzureADDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("AzureADDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("AzureADDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(AzureADDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("AzureADDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
15 changes: 2 additions & 13 deletions
15
...s/OrchardCore.Microsoft.Authentication/Deployment/MicrosoftAccountDeploymentStepDriver.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,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Microsoft.Authentication.Deployment; | ||
|
||
public sealed class MicrosoftAccountDeploymentStepDriver : DisplayDriver<DeploymentStep, MicrosoftAccountDeploymentStep> | ||
public sealed class MicrosoftAccountDeploymentStepDriver | ||
: DeploymentStepDriverBase<MicrosoftAccountDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(MicrosoftAccountDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return CombineAsync( | ||
View("MicrosoftAccountDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("MicrosoftAccountDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(MicrosoftAccountDeploymentStep step, BuildEditorContext context) | ||
=> View("MicrosoftAccountDeploymentStep_Edit", step).Location("Content"); | ||
} |
18 changes: 2 additions & 16 deletions
18
src/OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdServerDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.OpenId.Deployment; | ||
|
||
public sealed class OpenIdServerDeploymentStepDriver : DisplayDriver<DeploymentStep, OpenIdServerDeploymentStep> | ||
public sealed class OpenIdServerDeploymentStepDriver | ||
: DeploymentStepDriverBase<OpenIdServerDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(OpenIdServerDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("OpenIdServerDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("OpenIdServerDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(OpenIdServerDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("OpenIdServerDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
18 changes: 2 additions & 16 deletions
18
...OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdValidationDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.OpenId.Deployment; | ||
|
||
public sealed class OpenIdValidationDeploymentStepDriver : DisplayDriver<DeploymentStep, OpenIdValidationDeploymentStep> | ||
public sealed class OpenIdValidationDeploymentStepDriver | ||
: DeploymentStepDriverBase<OpenIdValidationDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(OpenIdValidationDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("OpenIdValidationDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("OpenIdValidationDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(OpenIdValidationDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("OpenIdValidationDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
18 changes: 2 additions & 16 deletions
18
src/OrchardCore.Modules/OrchardCore.Placements/Deployment/PlacementsDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Placements.Deployment; | ||
|
||
public sealed class PlacementsDeploymentStepDriver : DisplayDriver<DeploymentStep, PlacementsDeploymentStep> | ||
public sealed class PlacementsDeploymentStepDriver | ||
: DeploymentStepDriverBase<PlacementsDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(PlacementsDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("PlacementsDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("PlacementsDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(PlacementsDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("PlacementsDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
18 changes: 2 additions & 16 deletions
18
src/OrchardCore.Modules/OrchardCore.Queries/Deployment/AllQueriesDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Queries.Deployment; | ||
|
||
public sealed class AllQueriesDeploymentStepDriver : DisplayDriver<DeploymentStep, AllQueriesDeploymentStep> | ||
public sealed class AllQueriesDeploymentStepDriver | ||
: DeploymentStepDriverBase<AllQueriesDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(AllQueriesDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("AllQueriesDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("AllQueriesDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(AllQueriesDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("AllQueriesDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
18 changes: 2 additions & 16 deletions
18
src/OrchardCore.Modules/OrchardCore.Roles/Deployment/AllRolesDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Roles.Deployment; | ||
|
||
public sealed class AllRolesDeploymentStepDriver : DisplayDriver<DeploymentStep, AllRolesDeploymentStep> | ||
public sealed class AllRolesDeploymentStepDriver | ||
: DeploymentStepDriverBase<AllRolesDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(AllRolesDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("AllRolesDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("AllRolesDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(AllRolesDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("AllRolesDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
18 changes: 2 additions & 16 deletions
18
...re.Modules/OrchardCore.Shortcodes/Deployment/AllShortcodeTemplatesDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Shortcodes.Deployment; | ||
|
||
public sealed class AllShortcodeTemplatesDeploymentStepDriver : DisplayDriver<DeploymentStep, AllShortcodeTemplatesDeploymentStep> | ||
public sealed class AllShortcodeTemplatesDeploymentStepDriver | ||
: DeploymentStepDriverBase<AllShortcodeTemplatesDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(AllShortcodeTemplatesDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("AllShortcodeTemplatesDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("AllShortcodeTemplatesDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(AllShortcodeTemplatesDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("AllShortcodeTemplatesDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
18 changes: 2 additions & 16 deletions
18
src/OrchardCore.Modules/OrchardCore.Sitemaps/Deployment/AllSitemapsDeploymentStepDriver.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,22 +1,8 @@ | ||
using OrchardCore.Deployment; | ||
using OrchardCore.DisplayManagement.Handlers; | ||
using OrchardCore.DisplayManagement.Views; | ||
|
||
namespace OrchardCore.Sitemaps.Deployment; | ||
|
||
public sealed class AllSitemapsDeploymentStepDriver : DisplayDriver<DeploymentStep, AllSitemapsDeploymentStep> | ||
public sealed class AllSitemapsDeploymentStepDriver | ||
: DeploymentStepDriverBase<AllSitemapsDeploymentStep> | ||
{ | ||
public override Task<IDisplayResult> DisplayAsync(AllSitemapsDeploymentStep step, BuildDisplayContext context) | ||
{ | ||
return | ||
CombineAsync( | ||
View("AllSitemapsDeploymentStep_Summary", step).Location("Summary", "Content"), | ||
View("AllSitemapsDeploymentStep_Thumbnail", step).Location("Thumbnail", "Content") | ||
); | ||
} | ||
|
||
public override IDisplayResult Edit(AllSitemapsDeploymentStep step, BuildEditorContext context) | ||
{ | ||
return View("AllSitemapsDeploymentStep_Edit", step).Location("Content"); | ||
} | ||
} |
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
Oops, something went wrong.