set PRODUCTION_SERVER_ADDRESS=http://production-server.com/api
set TESTING_SERVER_ADDRESS=http://testing-server.com/api
msbuild MyApplication.csproj /p:ServerAddress=%PRODUCTION_SERVER_ADDRESS% /p:Configuration=Release
msbuild MyApplication.csproj /p:ServerAddress=%TESTING_SERVER_ADDRESS% /p:Configuration=Debug
string serverAddress = args[0];
{
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Serilog.Sinks.Console": "Information",
"Serilog.Sinks.Seq": "Warning"
}
},
"Filter": [
{
"Name": "ByExcluding",
"Args": {
"expression": "Contains(@Level, 'Verbose') or Contains(@Level, 'Debug') or Contains(@Level, 'Information')"
}
}
],
"WriteTo": [
{
"Name": "Console"
},
{
"Name": "Seq",
"Args": {
"serverUrl": "http://localhost:5341"
}
}
]
}
}
function onEdit(e) {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet1 = ss.getSheetByName("Исходный лист");
var sheet2 = ss.getSheetByName("Нужный лист");
var cell = e.range;
if (cell.getValue() == "списать") {
var row = cell.getRow();
var range = sheet1.getRange(row, 1, 1, sheet1.getLastColumn());
var values = range.getValues();
sheet2.appendRow(values[0]);
sheet1.deleteRow(row);
}
}