partial static void CreateCustomDemo(ref RenderedNode customDemoObject);
private void CopyContentFrom(RenderedNode sourceObject) { TechnicalSource = sourceObject.TechnicalSource; ImageBaseUrl = sourceObject.ImageBaseUrl; Title = sourceObject.Title; ActualContentUrl = sourceObject.ActualContentUrl; Excerpt = sourceObject.Excerpt; TimestampText = sourceObject.TimestampText; MainSortableText = sourceObject.MainSortableText; Categories = sourceObject.Categories; Authors = sourceObject.Authors; Locations = sourceObject.Locations; Filters = sourceObject.Filters; }
public static RenderedNode CreateDefault() { var result = new RenderedNode(); result.Categories = ShortTextCollection.CreateDefault(); result.Authors = ShortTextCollection.CreateDefault(); result.Locations = ShortTextCollection.CreateDefault(); result.Filters = ShortTextCollection.CreateDefault(); return result; }