Esempio n. 1
0
 public RiverWall()
 {
     Participants = new List<string>();
     Sources = new RiverSubscription();
     Template = new RiverTemplate();
     Visibility = RiverWallVisibility.Public;
     Status = RiverWallStatus.Published;
     DateCreated = Stamp.Time();
     LastModified = Stamp.Time();
 }
Esempio n. 2
0
        public static RiverTemplate Get()
        {
            var template = new RiverTemplate()
            {
                Id = RiverTemplate.NewId().Full(),
                Title = "Dark Wood",
                AuthorName = "Dody Gunawinata",
                FeedTemplate = _feedLiquidTemplate,
                WallTemplate = _wallLiquidTemplate,
                LessCss = new LessCssBundledText().SetText(_lessCss),
                JavaScript = new BundledText().SetText(_javascript),
                HtmlHeadInline = @"
            <link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css'>"
            };

            return template;
        }