mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Removing TextContentFieldDisplayViewModel and TextContentFieldDisplayViewModel
Work Item: 16835 --HG-- branch : dev
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
using Orchard.Core.Common.Fields;
|
|
||||||
|
|
||||||
namespace Orchard.Core.Common.ViewModels {
|
|
||||||
public class TextContentFieldDisplayViewModel {
|
|
||||||
public TextField Text { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,14 +0,0 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using Orchard.Core.Common.Fields;
|
|
||||||
|
|
||||||
namespace Orchard.Core.Common.ViewModels {
|
|
||||||
public class TextContentFieldEditorViewModel {
|
|
||||||
public TextField TextField { get; set; }
|
|
||||||
|
|
||||||
[Required]
|
|
||||||
public string Text {
|
|
||||||
get { return TextField.Value; }
|
|
||||||
set { TextField.Value = value; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -92,8 +92,6 @@
|
|||||||
<Compile Include="Common\Services\CommonService.cs" />
|
<Compile Include="Common\Services\CommonService.cs" />
|
||||||
<Compile Include="Common\Settings\BodySettings.cs" />
|
<Compile Include="Common\Settings\BodySettings.cs" />
|
||||||
<Compile Include="Common\ViewModels\ContainerEditorViewModel.cs" />
|
<Compile Include="Common\ViewModels\ContainerEditorViewModel.cs" />
|
||||||
<Compile Include="Common\ViewModels\TextContentFieldDisplayViewModel.cs" />
|
|
||||||
<Compile Include="Common\ViewModels\TextContentFieldEditorViewModel.cs" />
|
|
||||||
<Compile Include="Contents\Controllers\ItemController.cs" />
|
<Compile Include="Contents\Controllers\ItemController.cs" />
|
||||||
<Compile Include="Contents\Drivers\ContentsDriver.cs" />
|
<Compile Include="Contents\Drivers\ContentsDriver.cs" />
|
||||||
<Compile Include="Contents\DynamicPermissions.cs" />
|
<Compile Include="Contents\DynamicPermissions.cs" />
|
||||||
|
Reference in New Issue
Block a user