示例#1
0
 public override object GetProperty(int propertyId)
 {
     EnsureContentDataIndependence();
     if (propertyId == WAFID.GetPropertyId("2298c8c8-b594-436a-8507-295780be610c"))
     {
         object init = Title;
         return(_title);
     }
     else if (propertyId == WAFID.GetPropertyId("ca3581d1-994d-4183-a7f7-c5829b31bb3e"))
     {
         object init = Text;
         return(_text);
     }
     else if (propertyId == WAFID.GetPropertyId("de2ba9dc-00fb-473e-a99a-49191b1c1211"))
     {
         object init = Image;
         return(_image);
     }
     else if (propertyId == WAFID.GetPropertyId("fc16c7f7-167e-4023-93e2-4fbcf44e4dff"))
     {
         object init = MoreLink;
         return(_moreLink);
     }
     return(base.GetProperty(propertyId));
 }
示例#2
0
 public override object GetProperty(int propertyId)
 {
     EnsureContentDataIndependence();
     if (propertyId == WAFID.GetPropertyId("e7c45ff5-6a2b-4902-ba07-2659ce79b85f"))
     {
         object init = TypeOfHello;
         return(_typeOfHello);
     }
     else if (propertyId == WAFID.GetPropertyId("bb08276f-e760-4aa2-a98f-6d2fd00d8e22"))
     {
         object init = Ingress;
         return(_ingress);
     }
     else if (propertyId == WAFID.GetPropertyId("d8ae88fe-4a85-4eae-a387-f79ab1472d26"))
     {
         object init = IngressPicture;
         return(_ingressPicture);
     }
     else if (propertyId == WAFID.GetPropertyId("eb985ce1-c69a-473e-b250-95d0eeafb8f4"))
     {
         object init = Content;
         return(_content);
     }
     else if (propertyId == WAFID.GetPropertyId("1e881cf8-49c7-4496-89c8-9cfebe1fb093"))
     {
         object init = Files;
         return(_files);
     }
     else if (propertyId == WAFID.GetPropertyId("38c0ea84-3604-4fa5-af27-8419115f4831"))
     {
         object init = Quotes;
         return(_quotes);
     }
     else if (propertyId == WAFID.GetPropertyId("e3b65c50-4cc3-4de5-b7b2-5cac97bbfa6c"))
     {
         object init = RelatedArticles;
         return(_relatedArticles);
     }
     return(base.GetProperty(propertyId));
 }