mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 02:44:52 +08:00
Removing int Id properties from IContent descendants
Eliminates compiler warnings about hiding members of base class. --HG-- branch : dev
This commit is contained in:
@@ -86,8 +86,6 @@ namespace Orchard.Core.Tests.Body {
|
||||
}
|
||||
|
||||
public class Thing : ContentPart {
|
||||
public int Id { get { return ContentItem.Id; } }
|
||||
|
||||
public string Text {
|
||||
get { return this.As<BodyPart>().Text; }
|
||||
set { this.As<BodyPart>().Text = value; }
|
||||
|
@@ -208,8 +208,6 @@ namespace Orchard.Core.Tests.Routable.Services {
|
||||
}
|
||||
|
||||
public class Thing : ContentPart {
|
||||
public int Id { get { return ContentItem.Id; } }
|
||||
|
||||
public string Title {
|
||||
get { return this.As<RoutePart>().Title; }
|
||||
set { this.As<RoutePart>().Title = value; }
|
||||
@@ -232,8 +230,6 @@ namespace Orchard.Core.Tests.Routable.Services {
|
||||
}
|
||||
|
||||
public class Stuff : ContentPart {
|
||||
public int Id { get { return ContentItem.Id; } }
|
||||
|
||||
public string Title {
|
||||
get { return this.As<RoutePart>().Title; }
|
||||
set { this.As<RoutePart>().Title = value; }
|
||||
|
Reference in New Issue
Block a user