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
//Eisklettern | |
public string lage { get; } | |
public string startpunkt { get; } | |
public string dauerh { get; } | |
public string laengekm { get; } | |
public string hoechsterpunkt { get; } | |
public string hoehenunterschied { get; } | |
public string aufstiegsmoeglichkeit { get; } | |
public string karteliteratur { get; } | |
public string schwierigkeitsgrad { get; } |
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
//Methode die mir in Docuware File mit Metadaten Uploaded | |
public static GapiResponse UploadFile(List<DWField> DWIndices, string documentpath, string filecabinetguid) | |
{ | |
int docid = 0; | |
try | |
{ | |
//Vorher kontrollieren ob _GapiClient instanziert ist | |
IFileCabinet filecabinet = _gapiClient.Organization.GetFileCabinet(new Guid(filecabinetguid)); | |
IFileCabinetStorageCommand myfilecommand = filecabinet.Commands.newStorage(); |
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
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Routing; | |
namespace TestMigration | |
{ |
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 xy in Pois | |
where xy.Primarytype == "museen" | |
select new | |
{ | |
SMGId = xy.Id, | |
SMGPoiname = xy.Nodename, | |
Poityp = xy.Primarytype, | |
Region = (from xz in Locations where xz.MagnoliaID == xy.RegionId && xz.Type == "Region" select xz).FirstOrDefault().Name, | |
Ort = (from xz in Locations where xz.MagnoliaID == xy.OrtId && xz.Type == "Ort" select xz).FirstOrDefault().Name, | |
GPSEast = xy.PoiGps.Where(x => x.Type == "position" || x.Type == "ownerposition").FirstOrDefault().Gps.East, |
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
static void Main(string[] args) | |
{ | |
Console.ReadLine(); | |
//Create a Web-Request to an URL | |
HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create("http://demowebservice.suedtirol.info/service/MOBILEListener"); | |
//Defined poperties for the Web-Request | |
httpWebRequest.Method = "POST"; | |
httpWebRequest.MediaType = "HTTP/1.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
//Dieser Manager sieht nach ob in der Session bereits was gespeichert ist, falls nicht wird diese neu erstellt | |
public static class BuchungsChartManager | |
{ | |
public static BuchungsChart GetBuchungsChart() | |
{ | |
if (HttpContext.Current.Session["ASPNETBuchung"] == null) | |
{ | |
var gc = new BuchungsChart(); | |
HttpContext.Current.Session["ASPNETBuchung"] = gc; | |
return gc; |
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
// GET api/Poi/GetGolf | |
public IEnumerable<myGolf> GetGolf() | |
{ | |
var mypoi = (from xy in db.PoiSet where xy.Primarytype == "golf" | |
select new myGolf | |
{ | |
Id = xy.Id, | |
Poiname = xy.Nodename, | |
Region = xy.Region.RID, | |
Ort = xy.Ort.RID, |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
namespace Intranet | |
{ | |
public class CustomBreadcrumpCMS |
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
using System; | |
using System.Configuration.Provider; | |
using System.Collections; | |
using System.Collections.Specialized; | |
using System.IO; | |
using System.Security.Permissions; | |
using System.Web; | |
using System.Linq; | |
using System.Web.Caching; | |
using System.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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace Intranet | |
{ | |
public static class MenuExtensions | |
{ | |
public static IMenu NextParent(this IMenu menu) |