Removing int Id properties from IContent descendants

Eliminates compiler warnings about hiding members of base class.

--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-10-13 00:25:21 -07:00
parent 8e2f7e974a
commit 0adc7a6c9f
7 changed files with 0 additions and 18 deletions

View File

@@ -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; }

View File

@@ -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; }