This file contains hidden or 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
| # escape=` | |
| FROM docker.pkg.github.com/<your image with full windows and .net SDK> as arc-base | |
| COPY --from=docker.pkg.github.com/<your image with binaries of arcgis to install> c:/temp/app c:/binaries/ | |
| #FROM arc-base as build |
This file contains hidden or 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
| public static class ObjectCopier | |
| { | |
| public static T CloneJson<T>(this T source) | |
| { | |
| // Don't serialize a null object, simply return the default for that object | |
| if (Object.ReferenceEquals(source, null)) | |
| { | |
| return default(T); | |
| } |
This file contains hidden or 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
| public class MaxActiveScaleAction : IAction | |
| { | |
| public MaxActiveScaleAction(int maxActiveScale) | |
| { | |
| MaxActiveScale = maxActiveScale; | |
| } | |
| public int MaxActiveScale { get; } | |
| } |
This file contains hidden or 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
| public class ParcelConstructorTests : IDisposable | |
| { | |
| private readonly ITestOutputHelper _testOutputHelper; | |
| private readonly Mock<UINotifier> _notifierMock = new Mock<UINotifier>(); | |
| private ParcelConstructor _sut; | |
| private CadasterModuleStore _appStore; | |
| private Mock<IMap> _activeMapMock; | |
| private Mock<ILayerManagement> _workSpaceManagerMock; | |
| private Mock<ILayerManagement> _parcelManagerMock; |
This file contains hidden or 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
| namespace Example | |
| { | |
| public class ActiveMap : IMap | |
| { | |
| private readonly Map _map; | |
| public ActiveMap(Map map) | |
| { | |
| _map = map; |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| CONTAINER="wap-sample" | |
| IMAGE="dkuida/wap-sample" | |
| PORT=8080 | |
| docker build -t ${IMAGE} . | |
| docker stop ${CONTAINER} | |
| docker rm ${CONTAINER} | |
| docker run --restart=always --name ${CONTAINER} -p ${PORT}:${PORT} -d ${IMAGE} |
This file contains hidden or 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
| FROM node:9.4.0 | |
| MAINTAINER Dan Kuida < [email protected] > | |
| ENV REFRESHED_AT 2017-09-02 | |
| EXPOSE 8080 | |
| RUN mkdir -p /var/www | |
| WORKDIR /var/www | |
| COPY . /var/www |
This file contains hidden or 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
| 'use strict'; | |
| let jasmineWrapper; | |
| const proxyquire = require('proxyquire').noCallThru(); | |
| const debug = false; | |
| if (debug) { | |
| const Jasmine = require('jasmine');// eslint-disable-line global-require | |
| jasmineWrapper = new Jasmine(); | |
| const jasmine = jasmineWrapper.jasmine; | |
| } |