C# Class BaconographyW8.PlatformServices.LiveTileService

Inheritance: ILiveTileService, IBaconService
Show file Open project: Synergex/Baconography Class Usage Examples

Public Methods

Method Description
CreateSecondaryTileForSubreddit ( TypedThing subreddit ) : System.Threading.Tasks.Task
GetMessagesMarkedRead ( ) : IEnumerable
Initialize ( IBaconProvider baconProvider ) : System.Threading.Tasks.Task
LoadTaskSettings ( ) : BaconographyPortable.Model.TaskSettings?
MaybeCreateTile ( Tuple thing ) : System.Threading.Tasks.Task
RemoveSecondaryTile ( string name ) : void
SetCount ( int count ) : void
SetMessageRead ( string id ) : void
StoreTaskSettings ( BaconographyPortable.Model.TaskSettings>.Func getSettings, bool atomic ) : void
TileExists ( string name ) : bool

Private Methods

Method Description
CreateTile ( string text, Uri smallImage, Uri largeImage ) : System.Threading.Tasks.Task

Method Details

CreateSecondaryTileForSubreddit() public method

public CreateSecondaryTileForSubreddit ( TypedThing subreddit ) : System.Threading.Tasks.Task
subreddit TypedThing
return System.Threading.Tasks.Task

GetMessagesMarkedRead() public method

public GetMessagesMarkedRead ( ) : IEnumerable
return IEnumerable

Initialize() public method

public Initialize ( IBaconProvider baconProvider ) : System.Threading.Tasks.Task
baconProvider IBaconProvider
return System.Threading.Tasks.Task

LoadTaskSettings() public method

public LoadTaskSettings ( ) : BaconographyPortable.Model.TaskSettings?
return BaconographyPortable.Model.TaskSettings?

MaybeCreateTile() public method

public MaybeCreateTile ( Tuple thing ) : System.Threading.Tasks.Task
thing Tuple
return System.Threading.Tasks.Task

RemoveSecondaryTile() public method

public RemoveSecondaryTile ( string name ) : void
name string
return void

SetCount() public method

public SetCount ( int count ) : void
count int
return void

SetMessageRead() public method

public SetMessageRead ( string id ) : void
id string
return void

StoreTaskSettings() public method

public StoreTaskSettings ( BaconographyPortable.Model.TaskSettings>.Func getSettings, bool atomic ) : void
getSettings BaconographyPortable.Model.TaskSettings>.Func
atomic bool
return void

TileExists() public method

public TileExists ( string name ) : bool
name string
return bool