Orchard/src/Orchard.Web/Core/Routable/Models/RoutePart.cs

21 lines
588 B
C#
Raw Normal View History

using Orchard.ContentManagement;
using Orchard.ContentManagement.Aspects;
namespace Orchard.Core.Routable.Models {
public class RoutePart : ContentPart<RoutePartRecord>, IRoutableAspect {
public string Title {
get { return Record.Title; }
set { Record.Title = value; }
}
public string Slug {
get { return Record.Slug; }
set { Record.Slug = value; }
}
2010-07-14 11:15:55 +08:00
public string Path {
get { return Record.Path; }
set { Record.Path = value; }
}
}
}