This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_requestUrl | |
.Subscribe(async url => | |
{ | |
var response = await httpClient.GetAsync(url); | |
// Update the list | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var callbackStack = new Stack<Action>(); | |
uiapp.Idling += (s, e) => | |
{ | |
if (callbackStack.Any()) | |
{ | |
var action = callbackStack.Pop(); | |
action.Invoke(); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<packageSources> | |
<add key="nuget.org" value="https://www.myget.org/F/dangl-ava/auth/<YOUR_API_KEY>/api/v3/index.json" protocolVersion="3" /> | |
</packageSources> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void OnModelCreating(ModelBuilder builder) | |
{ | |
base.OnModelCreating(builder); | |
if (Database.ProviderName == "Microsoft.EntityFrameworkCore.Sqlite") | |
{ | |
// SQLite does not have proper support for DateTimeOffset via Entity Framework Core, see the limitations | |
// here: https://docs.microsoft.com/en-us/ef/core/providers/sqlite/limitations#query-limitations | |
// To work around this, when the Sqlite database provider is used, all model properties of type DateTimeOffset | |
// use the DateTimeOffsetToBinaryConverter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Target E2ETests => _ => _ | |
.DependsOn(BuildDocker) | |
.DependsOn(Clean) | |
.Executes(async () => | |
{ | |
IProcess dockerComposeProcess = null; | |
// Start the docker environment in a non-blocking way | |
var dockerComposeUpTask = Task.Run(() => | |
{ | |
dockerComposeProcess = ProcessTasks.StartProcess("docker-compose", "up"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private async Task TransformToOenormAsync() | |
{ | |
var convertedProject = Dangl.Oenorm.Converter.ConvertToOenorm(_readProject, OenormDestinationType.LV2015); | |
using (var oenormStream = Dangl.Oenorm.Writer.OenormWriter.GetStream(convertedProject)) | |
{ | |
var outputPath = Path.GetFullPath(_options.OutputFilePath); | |
using (var fileStream = File.Create(outputPath)) | |
{ | |
await oenormStream.CopyToAsync(fileStream); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Console::WriteLine(L"Creating new GAEB file:"); | |
GaebTargetType targetType = GaebTargetType::GaebXml; | |
Project^ projectToExport = gcnew Project(); | |
ServiceSpecification^ servSpec = gcnew ServiceSpecification(); | |
servSpec->ExchangePhase = ExchangePhase::Grant; | |
projectToExport->ServiceSpecifications->Add(servSpec); | |
Position^ position = gcnew Position(); | |
position->ShortText = "C++ Position"; | |
position->ItemNumber->StringRepresentation = "01"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PathExecutable("electronize")] readonly Tool ElectronNET; | |
Target PublishElectronApp => _ => _ | |
.DependsOn(Clean) | |
.DependsOn(GenerateVersion) | |
.Requires(() => DocuBaseUrl) | |
.Requires(() => DocuApiKey) | |
.Executes(async () => | |
{ | |
// Electron Build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!--Created with Dangl GAEB Tool, Copyright 2013 - 2019 Dangl IT GmbH, www.dangl-it.com, Version 1.6.2 (Built: 15.01.2019 19:00)--> | |
<GAEB xmlns="http://www.gaeb.de/GAEB_DA_XML/DA83/3.2"> | |
<GAEBInfo> | |
<Version>3.2</Version> | |
<VersDate>2013-10</VersDate> | |
<Date>2019-01-16</Date> | |
<Time>21:18:22</Time> | |
<ProgSystem>Dangl GAEB Tool - www.dangl-it.com - Version 1.6.2</ProgSystem> | |
<ProgName>Dangl.AVA.Converter www.dangl-it.com V2.0.2 ©2019</ProgName> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvc defaultRenderer="StandardRenderer"> | |
<renderers> | |
<add name="StandardRenderer" type="Dangl.Blog.NonAxdDependenciesRenderer, Dangl.Blog" /> | |
<add name="LazyLoadRenderer" type="ClientDependency.Core.FileRegistration.Providers.LazyLoadRenderer, ClientDependency.Core" /> | |
</renderers> | |
</mvc> |