Created
March 16, 2011 16:18
-
-
Save mattbrailsford/872753 to your computer and use it in GitHub Desktop.
Possible uSiteBuilder syntax for property update or deletion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Web; | |
using Vega.USiteBuilder; | |
namespace Umb.DocTypes | |
{ | |
[DocumentType] | |
public class TestPage : Vega.USiteBuilder.DocumentTypeBase | |
{ | |
[Obsolete] // Delete | |
[DocumentTypeProperty(UmbracoPropertyType.Textstring)] | |
public string DeleteTestString { get; set; } | |
[Obsolete(UseInstead = "UpdateTestString2")] // Update | |
[DocumentTypeProperty(UmbracoPropertyType.Textstring)] | |
public string UpdateTestString { get; set; } | |
[DocumentTypeProperty(UmbracoPropertyType.Textstring)] | |
public string UpdateTestString2 { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment