public ReleasePackage(IAppInsights appInsights, ILogger logger, IOctopusServer server, IOctopusCache octopusCache, ProjectResource project, ReleaseResource release, ChannelResource channel) : base(logger, server, project, release, true) { _appInsights = appInsights; Cache = octopusCache; Channel = channel; _nugetPackage = new Lazy <byte[]>(() => Cache.GetNuGetPackage(project, release, CreateNuGetPackage)); }
public DiscoverViewController (IntPtr handle) : base (handle) { Initialize(); viewModel = ServiceLocator.Instance.Resolve<IDiscoverViewModel>(); logger = ServiceLocator.Instance.Resolve<IAppInsights>(); }
public OctopusPackageRepository(IAppInsights appInsights, ILogger logger, IOctopusServer server, IOctopusCache octopusCache) { _appInsights = appInsights; _logger = logger; _server = server; _octopusCache = octopusCache; }
public DiscoverViewController(IntPtr handle) : base(handle) { Initialize(); viewModel = ServiceLocator.Instance.Resolve <IDiscoverViewModel>(); logger = ServiceLocator.Instance.Resolve <IAppInsights>(); }
public CheckInViewModel() { checkInStore = ServiceLocator.Instance.Resolve <ICheckInStore>(); userStore = ServiceLocator.Instance.Resolve <IUserStore>(); azure = ServiceLocator.Instance.Resolve <IAzureClient>(); log = ServiceLocator.Instance.Resolve <IAppInsights>(); }
public CheckInViewModel() { checkInStore = ServiceLocator.Instance.Resolve<ICheckInStore>(); userStore = ServiceLocator.Instance.Resolve<IUserStore>(); azure = ServiceLocator.Instance.Resolve<IAzureClient>(); log = ServiceLocator.Instance.Resolve<IAppInsights>(); }
public OctopusCache(OctopusServer server, IAppInsights appInsights, ILogger logger) { _cache = new MemoryCache(new MemoryCacheOptions { CompactOnMemoryPressure = true, ExpirationScanFrequency = TimeSpan.FromMinutes(10) }); _server = server; _appInsights = appInsights; _logger = logger; _timer = new Timer(TimerHandler, null, 0, Timeout.Infinite); }
public State(ILogger <State> logger, IValidatorFactory validatorFactory, IJSRuntime JSRuntime, IAppInsights appInsights) { this.Logger = logger; this.ValidatorFactory = validatorFactory; this.JSRuntime = JSRuntime; this.appInsights = appInsights; // Preload default objects GetCollection(typeof(ConfigMap)); GetCollection(typeof(CronJob)); GetCollection(typeof(DaemonSet)); GetCollection(typeof(Deployment)); GetCollection(typeof(Ingress2)); GetCollection(typeof(PersistentVolumeClaim)); GetCollection(typeof(Secret)); GetCollection(typeof(Service)); GetCollection(typeof(StatefulSet)); }
public override void ViewDidLoad() { viewModel = ServiceLocator.Instance.Resolve<ICheckInViewModel>(); logger = ServiceLocator.Instance.Resolve<IAppInsights>(); lblBeerName.Text = beer.Name; lblDate.Text = DateTime.Now.ToString("M"); starView.BackgroundColor = ratingView.BackgroundColor; RatingConfig ratingConfig = new RatingConfig(UIImage.FromFile("star_blue_empty.png"),UIImage.FromFile("star_blue_filled.png"), UIImage.FromFile("star_blue_filled.png")); decimal averageRating = 3; var starsView = new PDRatingView(starView.Bounds, ratingConfig, averageRating); starsView.Center = new CoreGraphics.CGPoint(View.Center.X -10, starView.Frame.Y +10); starsView.RatingChosen += (sender, e) => { rating = e.Rating; }; starView.Add(starsView); starView.LayoutSubviews(); }
public override void ViewDidLoad() { viewModel = ServiceLocator.Instance.Resolve <ICheckInViewModel>(); logger = ServiceLocator.Instance.Resolve <IAppInsights>(); lblBeerName.Text = beer.Name; lblDate.Text = DateTime.Now.ToString("M"); starView.BackgroundColor = ratingView.BackgroundColor; RatingConfig ratingConfig = new RatingConfig(UIImage.FromFile("star_blue_empty.png"), UIImage.FromFile("star_blue_filled.png"), UIImage.FromFile("star_blue_filled.png")); decimal averageRating = 3; var starsView = new PDRatingView(starView.Bounds, ratingConfig, averageRating); starsView.Center = new CoreGraphics.CGPoint(View.Center.X - 10, starView.Frame.Y + 10); starsView.RatingChosen += (sender, e) => { rating = e.Rating; }; starView.Add(starsView); starView.LayoutSubviews(); }
public TrendsService() { azure = ServiceLocator.Instance.Resolve<IAzureClient>(); insights = ServiceLocator.Instance.Resolve<IAppInsights>(); }
public ImageService() { azure = ServiceLocator.Instance.Resolve <IAzureClient>(); logger = ServiceLocator.Instance.Resolve <IAppInsights>(); }
public AppInsightsLogger(IAppInsights appInsights) { _appInsights = appInsights; }
public ImageService() { azure = ServiceLocator.Instance.Resolve<IAzureClient>(); logger = ServiceLocator.Instance.Resolve<IAppInsights>(); }
public LogManager(IAppInsights appInsights) { _consoleLogger = new ConsoleLogger(); _appInsightsLogger = new AppInsightsLogger(appInsights); }
public TrendsService() { azure = ServiceLocator.Instance.Resolve <IAzureClient>(); insights = ServiceLocator.Instance.Resolve <IAppInsights>(); }
public SocialAuthViewController(IntPtr handle): base(handle) { azure = ServiceLocator.Instance.Resolve<IAzureClient>(); logger = ServiceLocator.Instance.Resolve<IAppInsights>(); }
public SocialAuthViewController(IntPtr handle) : base(handle) { azure = ServiceLocator.Instance.Resolve <IAzureClient>(); logger = ServiceLocator.Instance.Resolve <IAppInsights>(); }