C# Class CalendarAggregator.CalendarRenderer

Afficher le fichier Open project: judell/elmcity Class Usage Examples

Méthodes publiques

Свойство Type Description
calinfo Calinfo
category_images string>.Dictionary
default_args object>.Dictionary
default_args_json string
default_js_url string
default_template_html string
is_region bool
max_events int
source_images string>.Dictionary
template_html string
timestamp System.DateTime

Méthodes publiques

Méthode Description
CalendarRenderer ( string id ) : System
DescriptionFromHash ( string hash, string jsonp ) : string
DescriptionFromTitleAndDtstart ( string title, string dtstart, string jsonp ) : string
DescriptionFromUid ( int uid, string jsonp ) : string
FeedComesFrom ( CalendarAggregator.ZonelessEvent evt, string source ) : bool
Filter ( string view, int count, System.DateTime from, System.DateTime to, string source, CalendarAggregator.ZonelessEventStore es, object>.Dictionary args ) : List
FindTodayEvents ( ) : CalendarAggregator.ZonelessEventStore
GetCssUrl ( object>.Dictionary args ) : string
GetDayAnchorsAsJson ( CalendarAggregator.ZonelessEventStore es, string view ) : string
GetTags ( CalendarAggregator.ZonelessEventStore es ) : List
InsertRegionTagAndHubSelectors ( string html, CalendarAggregator.ZonelessEventStore es, string view, string hub, bool eventsonly ) : string
InsertTagSelector ( string html, CalendarAggregator.ZonelessEventStore es, string view, bool eventsonly ) : string
MakeEventTitle ( string view ) : string
MakeTagCloud ( CalendarAggregator.ZonelessEventStore es ) : int>>.List
MakeTitleForRDFa ( CalendarAggregator.ZonelessEvent evt, string dom_id, object>.Dictionary args ) : string
MaybeUseAlternateTemplate ( object>.Dictionary args ) : void
RenderCsv ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderDynamicViewWithCaching ( ControllerContext context, string view_key, ViewRenderer view_renderer, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderDynamicViewWithoutCaching ( ControllerContext context, ViewRenderer view_renderer, String view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderEventAsIcs ( string elmcity_id, string summary, string start, string end, string description, string location, string url ) : string
RenderEventsAsHtml ( CalendarAggregator.ZonelessEventStore es, StringBuilder builder, object>.Dictionary args ) : void
RenderEventsAsHtmlList ( CalendarAggregator.ZonelessEventStore es ) : string
RenderEvtAsCsv ( CalendarAggregator.ZonelessEvent evt, Calinfo calinfo, object>.Dictionary args ) : string
RenderEvtAsHtml ( CalendarAggregator.ZonelessEvent evt, Calinfo calinfo, object>.Dictionary args ) : string
RenderEvtAsListItem ( CalendarAggregator.ZonelessEvent evt ) : string
RenderEvtAsText ( CalendarAggregator.ZonelessEvent evt, Calinfo calinfo, object>.Dictionary args ) : string
RenderFeedAsJson ( string source, string view ) : string
RenderHtml ( ) : string
RenderHtml ( CalendarAggregator.ZonelessEventStore es ) : string
RenderHtml ( CalendarAggregator.ZonelessEventStore es, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderHtmlEventsOnly ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderHtmlForMobile ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderIcs ( ) : string
RenderIcs ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderIcs ( int count ) : string
RenderIcs ( string view ) : string
RenderJsWidget ( ) : string
RenderJson ( ) : string
RenderJson ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderJson ( int count ) : string
RenderJson ( string view ) : string
RenderRss ( ) : string
RenderRss ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderRss ( int count ) : string
RenderRss ( string view ) : string
RenderTagCloudAsHtml ( ) : string
RenderTagCloudAsJson ( ) : string
RenderText ( CalendarAggregator.ZonelessEventStore eventstore, EventRenderer event_renderer, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderText ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderTodayAsHtml ( ) : string
RenderXml ( ) : string
RenderXml ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
RenderXml ( int count ) : string
RenderXml ( string view ) : string

Private Methods

Méthode Description
AddTagOptions ( string selector, CalendarAggregator.ZonelessEventStore es, List tags, int>.Dictionary counts, StringBuilder sb, bool squigglies ) : void
AppendEvent ( StringBuilder eventstring, EventRenderer event_renderer, CalendarAggregator.ZonelessEvent evt, object>.Dictionary args ) : void
AssembleMetadata ( CalendarAggregator.ZonelessEventStore es ) : string
BuildCoalescedLinks ( CalendarAggregator.ZonelessEvent evt, string dom_id ) : string
BuildSourcesDict ( CalendarAggregator.ZonelessEventStore es, bool announce_time_of_day, int>.Dictionary sources_dict ) : void
CountFilter ( int count, List events ) : List
GetDayAnchors ( CalendarAggregator.ZonelessEventStore es, string view ) : List
GetEventStore ( CalendarAggregator.ZonelessEventStore es, System.DateTime from, System.DateTime to, object>.Dictionary args ) : CalendarAggregator.ZonelessEventStore
GetEventStore ( CalendarAggregator.ZonelessEventStore es, int count, object>.Dictionary args ) : CalendarAggregator.ZonelessEventStore
GetEventStore ( CalendarAggregator.ZonelessEventStore es, string view, object>.Dictionary args ) : CalendarAggregator.ZonelessEventStore
GetEventStore ( CalendarAggregator.ZonelessEventStore es, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : CalendarAggregator.ZonelessEventStore
GetEventStoreWithCaching ( ICache cache ) : CalendarAggregator.ZonelessEventStore
GetEventStoreWithoutCaching ( ICache cache ) : CalendarAggregator.ZonelessEventStore
GetImages ( string image_type ) : void
HandleBareEvents ( System.DateTime from ) : DateTime>.Dictionary
HandleClothedEvents ( List events ) : DateTime>.Dictionary
HandleDefaultArgs ( string html ) : string
HandleJsUrl ( string html, object>.Dictionary args ) : string
InsertImageJson ( string html ) : string
IsDefaultThemeDict ( string>.Dictionary theme_dict ) : bool
MakeGeoForRDFa ( CalendarAggregator.ZonelessEvent evt ) : string
MakeSourceAttr ( CalendarAggregator.ZonelessEvent evt ) : string
MakeSourceKey ( TimeOfDay current_time_of_day, string datekey, CalendarAggregator.ZonelessEvent evt ) : string
MakeTagOption ( string selector, CalendarAggregator.ZonelessEventStore es, int>.Dictionary counts, string tag ) : string
MassageDescription ( CalendarAggregator.ZonelessEvent evt ) : string
MaybeAddHubTagToView ( string view, object>.Dictionary args ) : string
MaybeBuildTagStructures ( CalendarAggregator.ZonelessEventStore es ) : void
OptionsForSelectedHub ( string view, string hub, StringBuilder sb_tags, StringBuilder sb_hubs, CalendarAggregator.ZonelessEventStore es ) : void
RenderBadges ( string html ) : string
RenderEvtAsXml ( CalendarAggregator.ZonelessEvent evt, Calinfo calinfo, object>.Dictionary args ) : string
ResetCounters ( ) : void
SourceFilter ( string source, List events ) : List
TimeFilter ( System.DateTime from, System.DateTime to, List events ) : List
UpdateSourcesDict ( int>.Dictionary sources_dict, TimeOfDay current_time_of_day, CalendarAggregator.ZonelessEvent evt, string datekey ) : void
ViewFilter ( string view, List events ) : List

Method Details

CalendarRenderer() public méthode

public CalendarRenderer ( string id ) : System
id string
Résultat System

DescriptionFromHash() public méthode

public DescriptionFromHash ( string hash, string jsonp ) : string
hash string
jsonp string
Résultat string

DescriptionFromTitleAndDtstart() public méthode

public DescriptionFromTitleAndDtstart ( string title, string dtstart, string jsonp ) : string
title string
dtstart string
jsonp string
Résultat string

DescriptionFromUid() public méthode

public DescriptionFromUid ( int uid, string jsonp ) : string
uid int
jsonp string
Résultat string

FeedComesFrom() public static méthode

public static FeedComesFrom ( CalendarAggregator.ZonelessEvent evt, string source ) : bool
evt CalendarAggregator.ZonelessEvent
source string
Résultat bool

Filter() public méthode

public Filter ( string view, int count, System.DateTime from, System.DateTime to, string source, CalendarAggregator.ZonelessEventStore es, object>.Dictionary args ) : List
view string
count int
from System.DateTime
to System.DateTime
source string
es CalendarAggregator.ZonelessEventStore
args object>.Dictionary
Résultat List

FindTodayEvents() public méthode

public FindTodayEvents ( ) : CalendarAggregator.ZonelessEventStore
Résultat CalendarAggregator.ZonelessEventStore

GetCssUrl() public méthode

public GetCssUrl ( object>.Dictionary args ) : string
args object>.Dictionary
Résultat string

GetDayAnchorsAsJson() public méthode

public GetDayAnchorsAsJson ( CalendarAggregator.ZonelessEventStore es, string view ) : string
es CalendarAggregator.ZonelessEventStore
view string
Résultat string

GetTags() public méthode

public GetTags ( CalendarAggregator.ZonelessEventStore es ) : List
es CalendarAggregator.ZonelessEventStore
Résultat List

InsertRegionTagAndHubSelectors() public méthode

public InsertRegionTagAndHubSelectors ( string html, CalendarAggregator.ZonelessEventStore es, string view, string hub, bool eventsonly ) : string
html string
es CalendarAggregator.ZonelessEventStore
view string
hub string
eventsonly bool
Résultat string

InsertTagSelector() public méthode

public InsertTagSelector ( string html, CalendarAggregator.ZonelessEventStore es, string view, bool eventsonly ) : string
html string
es CalendarAggregator.ZonelessEventStore
view string
eventsonly bool
Résultat string

MakeEventTitle() public méthode

public MakeEventTitle ( string view ) : string
view string
Résultat string

MakeTagCloud() public méthode

public MakeTagCloud ( CalendarAggregator.ZonelessEventStore es ) : int>>.List
es CalendarAggregator.ZonelessEventStore
Résultat int>>.List

MakeTitleForRDFa() public static méthode

public static MakeTitleForRDFa ( CalendarAggregator.ZonelessEvent evt, string dom_id, object>.Dictionary args ) : string
evt CalendarAggregator.ZonelessEvent
dom_id string
args object>.Dictionary
Résultat string

MaybeUseAlternateTemplate() public méthode

public MaybeUseAlternateTemplate ( object>.Dictionary args ) : void
args object>.Dictionary
Résultat void

RenderCsv() public méthode

public RenderCsv ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
eventstore CalendarAggregator.ZonelessEventStore
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderDynamicViewWithCaching() public méthode

public RenderDynamicViewWithCaching ( ControllerContext context, string view_key, ViewRenderer view_renderer, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
context ControllerContext
view_key string
view_renderer ViewRenderer
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderDynamicViewWithoutCaching() public méthode

public RenderDynamicViewWithoutCaching ( ControllerContext context, ViewRenderer view_renderer, String view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
context ControllerContext
view_renderer ViewRenderer
view String
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderEventAsIcs() public static méthode

public static RenderEventAsIcs ( string elmcity_id, string summary, string start, string end, string description, string location, string url ) : string
elmcity_id string
summary string
start string
end string
description string
location string
url string
Résultat string

RenderEventsAsHtml() public méthode

public RenderEventsAsHtml ( CalendarAggregator.ZonelessEventStore es, StringBuilder builder, object>.Dictionary args ) : void
es CalendarAggregator.ZonelessEventStore
builder StringBuilder
args object>.Dictionary
Résultat void

RenderEventsAsHtmlList() public méthode

public RenderEventsAsHtmlList ( CalendarAggregator.ZonelessEventStore es ) : string
es CalendarAggregator.ZonelessEventStore
Résultat string

RenderEvtAsCsv() public méthode

public RenderEvtAsCsv ( CalendarAggregator.ZonelessEvent evt, Calinfo calinfo, object>.Dictionary args ) : string
evt CalendarAggregator.ZonelessEvent
calinfo Calinfo
args object>.Dictionary
Résultat string

RenderEvtAsHtml() public méthode

public RenderEvtAsHtml ( CalendarAggregator.ZonelessEvent evt, Calinfo calinfo, object>.Dictionary args ) : string
evt CalendarAggregator.ZonelessEvent
calinfo Calinfo
args object>.Dictionary
Résultat string

RenderEvtAsListItem() public méthode

public RenderEvtAsListItem ( CalendarAggregator.ZonelessEvent evt ) : string
evt CalendarAggregator.ZonelessEvent
Résultat string

RenderEvtAsText() public méthode

public RenderEvtAsText ( CalendarAggregator.ZonelessEvent evt, Calinfo calinfo, object>.Dictionary args ) : string
evt CalendarAggregator.ZonelessEvent
calinfo Calinfo
args object>.Dictionary
Résultat string

RenderFeedAsJson() public méthode

public RenderFeedAsJson ( string source, string view ) : string
source string
view string
Résultat string

RenderHtml() public méthode

public RenderHtml ( ) : string
Résultat string

RenderHtml() public méthode

public RenderHtml ( CalendarAggregator.ZonelessEventStore es ) : string
es CalendarAggregator.ZonelessEventStore
Résultat string

RenderHtml() public méthode

public RenderHtml ( CalendarAggregator.ZonelessEventStore es, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
es CalendarAggregator.ZonelessEventStore
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderHtmlEventsOnly() public méthode

public RenderHtmlEventsOnly ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
eventstore CalendarAggregator.ZonelessEventStore
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderHtmlForMobile() public méthode

public RenderHtmlForMobile ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
eventstore CalendarAggregator.ZonelessEventStore
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderIcs() public méthode

public RenderIcs ( ) : string
Résultat string

RenderIcs() public méthode

public RenderIcs ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
eventstore CalendarAggregator.ZonelessEventStore
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderIcs() public méthode

public RenderIcs ( int count ) : string
count int
Résultat string

RenderIcs() public méthode

public RenderIcs ( string view ) : string
view string
Résultat string

RenderJsWidget() public méthode

public RenderJsWidget ( ) : string
Résultat string

RenderJson() public méthode

public RenderJson ( ) : string
Résultat string

RenderJson() public méthode

public RenderJson ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
eventstore CalendarAggregator.ZonelessEventStore
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderJson() public méthode

public RenderJson ( int count ) : string
count int
Résultat string

RenderJson() public méthode

public RenderJson ( string view ) : string
view string
Résultat string

RenderRss() public méthode

public RenderRss ( ) : string
Résultat string

RenderRss() public méthode

public RenderRss ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
eventstore CalendarAggregator.ZonelessEventStore
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderRss() public méthode

public RenderRss ( int count ) : string
count int
Résultat string

RenderRss() public méthode

public RenderRss ( string view ) : string
view string
Résultat string

RenderTagCloudAsHtml() public méthode

public RenderTagCloudAsHtml ( ) : string
Résultat string

RenderTagCloudAsJson() public méthode

public RenderTagCloudAsJson ( ) : string
Résultat string

RenderText() public méthode

public RenderText ( CalendarAggregator.ZonelessEventStore eventstore, EventRenderer event_renderer, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
eventstore CalendarAggregator.ZonelessEventStore
event_renderer EventRenderer
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderText() public méthode

public RenderText ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
eventstore CalendarAggregator.ZonelessEventStore
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderTodayAsHtml() public méthode

public RenderTodayAsHtml ( ) : string
Résultat string

RenderXml() public méthode

public RenderXml ( ) : string
Résultat string

RenderXml() public méthode

public RenderXml ( CalendarAggregator.ZonelessEventStore eventstore, string view, int count, System.DateTime from, System.DateTime to, string source, object>.Dictionary args ) : string
eventstore CalendarAggregator.ZonelessEventStore
view string
count int
from System.DateTime
to System.DateTime
source string
args object>.Dictionary
Résultat string

RenderXml() public méthode

public RenderXml ( int count ) : string
count int
Résultat string

RenderXml() public méthode

public RenderXml ( string view ) : string
view string
Résultat string

Property Details

calinfo public_oe property

public Calinfo,CalendarAggregator calinfo
Résultat Calinfo

category_images public_oe property

public Dictionary category_images
Résultat string>.Dictionary

default_args public_oe property

public Dictionary default_args
Résultat object>.Dictionary

default_args_json public_oe property

public string default_args_json
Résultat string

default_js_url public_oe property

public string default_js_url
Résultat string

default_template_html public_oe property

public string default_template_html
Résultat string

is_region public_oe property

public bool is_region
Résultat bool

max_events public_oe property

public int max_events
Résultat int

source_images public_oe property

public Dictionary source_images
Résultat string>.Dictionary

template_html public_oe property

public string template_html
Résultat string

timestamp public_oe property

public DateTime,System timestamp
Résultat System.DateTime