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
FROM mcr.microsoft.com/dotnet/sdk:6.0.401 AS build-env | |
WORKDIR /app | |
# https://jordananderson.io/asp-react-nodejs-docker/ | |
ENV NODE_VERSION 16.17.1 | |
ENV NODE_DOWNLOAD_URL https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz | |
RUN wget "$NODE_DOWNLOAD_URL" -O nodejs.tar.gz \ | |
&& tar -xzf "nodejs.tar.gz" -C /usr/local --strip-components=1 \ |
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 iDealService = new iDealService(); | |
var directoryResponse = iDealService.SendDirectoryRequest(); | |
var issuers = directoryResponse.Issuers; |
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
class NewsLetter | |
{ | |
private IMailer mailer = null; | |
public NewsLetter(IMailer mailer) | |
{ | |
this.mailer = mailer; | |
} | |
public void SendNewsLetter(string Email) |
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
class NewsLetter | |
{ | |
public void SendNewsLetter(string Email) | |
{ | |
IMailer mailer = Helper.getMailer(); | |
mailer.send(this, Email); | |
} | |
} |
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
class CompositeClass | |
{ | |
private BaseClass baseClass; | |
public CompositeClass() | |
{ | |
baseClass = new BaseClass(); | |
} | |
public void DoSomeWork() | |
{ |
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
class DeCoupledObject | |
{ | |
public void DoSomething() | |
{ | |
ILogger logger = LogHelper.getLogger(); | |
// Do something... | |
logger.log("Log this!"); | |
} |
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
class CoupledObject | |
{ | |
public void DoSomething() | |
{ | |
Logger logger = new Logger(); | |
// Do something... | |
logger.log("Log this!"); | |
} | |
} |
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 customer = new Customer() | |
.setFirstname("Ad") | |
.setLastname("van de Kaart") | |
.addOrder(new Order() | |
.setProductId(3) | |
.setQuantity(10)) | |
.addOrder(new Order() | |
.setProductId(7) | |
.setQuantity(5)) | |
.save(); |
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
<%= Html.Grid("basic") | |
.addColumn(new Column("CustomerId") | |
.setLabel("Customer ID")) | |
.addColumn(new Column("FirstName") | |
.setWidth(500)) | |
.setUrl("/Home/GridData/") | |
.setPager("pager") | |
.setAutoWidth(true) | |
.setViewRecords(true) | |
%> |
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
echo SysViewHelperDropdown::create('balls') | |
->setDropdownItems( | |
array( | |
'1' => 'Voetbal', | |
'2' => 'Basketbal', | |
'3' => 'Tennisbal')) | |
->setSelected(2) | |
->setClass('timebox'); |
NewerOlder