Ejemplo n.º 1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='lang'>
 /// </param>
 /// <param name='orgId'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <LMSDomainCoreModelsTheme> > GetAllAsync(this IThemes operations, string lang, string orgId = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetAllWithHttpMessagesAsync(lang, orgId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Ejemplo n.º 2
0
 public static void Assign(IConfig config, ISettings settings, IThemes themes, IBackgroundMusic backgroundMusic,
                           IDrawing draw, IGraphics graphics, IFonts fonts, ILanguage language, IGame game, IProfiles profiles, IRecording record,
                           ISongs songs, IVideo video, ISound sound, ICover cover, IDataBase dataBase, IControllers controller, IPlaylist playlist)
 {
     Config          = config;
     Settings        = settings;
     Themes          = themes;
     BackgroundMusic = backgroundMusic;
     Drawing         = draw;
     Graphics        = graphics;
     Fonts           = fonts;
     Language        = language;
     Game            = game;
     Profiles        = profiles;
     Record          = record;
     Songs           = songs;
     Video           = video;
     Sound           = sound;
     Cover           = cover;
     DataBase        = dataBase;
     Controller      = controller;
     Playlist        = playlist;
 }
Ejemplo n.º 3
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='lang'>
 /// </param>
 /// <param name='orgId'>
 /// </param>
 public static IList <LMSDomainCoreModelsTheme> GetAll(this IThemes operations, string lang, string orgId = default(string))
 {
     return(operations.GetAllAsync(lang, orgId).GetAwaiter().GetResult());
 }
Ejemplo n.º 4
0
 public ThemesController(IThemes themes, IThemsLevel themsLevel)
 {
     iThemes      = themes;
     iThemesLevel = themsLevel;
 }
Ejemplo n.º 5
0
 internal Css(IBlazorousInterop blazorousInterop, IThemes themes, ICssCreator cssCreator)
 {
     _blazorousInterop = blazorousInterop;
     _themes           = themes;
     _cssCreator       = cssCreator;
 }