- Finish up live writer support for blogs.

--HG--
branch : dev
This commit is contained in:
Suha Can
2010-03-02 12:10:49 -08:00
parent 388bd803c6
commit 49a9c6cc98
19 changed files with 276 additions and 61 deletions

View File

@@ -14,6 +14,7 @@ namespace Orchard.Blogs.Models {
public string Title {
get { return this.As<RoutableAspect>().Title; }
set { this.As<RoutableAspect>().Title = value; }
}
public string Slug {
@@ -21,6 +22,11 @@ namespace Orchard.Blogs.Models {
set { this.As<RoutableAspect>().Slug = value; }
}
public string Text {
get { return this.As<BodyAspect>().Text; }
set { this.As<BodyAspect>().Text = value; }
}
public Blog Blog {
get { return this.As<ICommonAspect>().Container.As<Blog>(); }
set { this.As<ICommonAspect>().Container = value; }
@@ -50,6 +56,10 @@ namespace Orchard.Blogs.Models {
}
}
public DateTime? CreatedUtc {
get { return this.As<ICommonAspect>().CreatedUtc; }
}
public DateTime? PublishedUtc {
get { return this.As<ICommonAspect>().VersionPublishedUtc; }
}