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
[Serializable] | |
public class LoggerAspect : OnExceptionAspect | |
{ | |
private static ILog logger = LogManager.GetLogger("MeinLogger"); | |
//Meldung die Angezeigt werden soll | |
private string ExceptionMessage { get; set; } | |
private Type HandleThisExceptionType { get; set; } | |
public LoggerAspect(string exceptionMessage, Type handleThisExceptionType = null) |
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
<TypeScriptTarget>ES5</TypeScriptTarget> | |
<TypeScriptJSXEmit>None</TypeScriptJSXEmit> | |
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled> | |
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny> | |
<TypeScriptModuleKind>CommonJS</TypeScriptModuleKind> | |
<TypeScriptRemoveComments>False</TypeScriptRemoveComments> | |
<TypeScriptOutFile /> | |
<TypeScriptOutDir /> | |
<TypeScriptGeneratesDeclarations>False</TypeScriptGeneratesDeclarations> | |
<TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError> |
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
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> | |
<TypeScriptTarget>ES5</TypeScriptTarget> | |
<TypeScriptJSXEmit>None</TypeScriptJSXEmit> | |
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled> | |
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny> | |
<TypeScriptModuleKind /> | |
<TypeScriptRemoveComments>False</TypeScriptRemoveComments> | |
<TypeScriptOutFile /> | |
<TypeScriptOutDir /> | |
<TypeScriptGeneratesDeclarations>False</TypeScriptGeneratesDeclarations> |
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
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> |
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
module App.Directives { | |
/* | |
* Ein Ui Bootstrap Modal draggable/verschiebbar machen | |
* | |
* Verwendung: | |
* | |
* Einfach in AngularJs registrieren und dann sind alle Modals Draggable. | |
* | |
*/ |
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"?> | |
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | |
<metadata> | |
<id>AngularJsResharper.Settings</id> | |
<version>1.9.9</version> | |
<authors>SquadWuschel</authors> | |
<requireLicenseAcceptance>false</requireLicenseAcceptance> | |
<description>My package description.</description> | |
<dependencies> | |
<dependency id="Wave" version="[5.0]" /> |
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
/// <binding AfterBuild='moveToLibs' /> | |
var gulp = require('gulp'); | |
gulp.task('moveToLibs', function (done) { | |
gulp.src([ | |
'node_modules/core-js/client/shim.min.js', | |
'node_modules/zone.js/dist/zone.js', | |
'node_modules/reflect-metadata/Reflect.js', | |
'node_modules/systemjs/dist/system.src.js' | |
]).pipe(gulp.dest('./Scripts/')); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>My ASP.NET Application</title> | |
@Styles.Render("~/Content/css") | |
<!-- Polyfill(s) for older browsers like IE --> | |
<script src="~/Scripts/shim.min.js"></script> | |
<!-- 1. Load libraries --> | |
<script src="~/Scripts/zone.js"></script> |
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
module App.Services { | |
export interface IProxyPService { | |
addTsEntryAndName(person: ProxyGeneratorDemoPage.Models.Person.Models.IPerson, name: string): ng.IPromise<ProxyGeneratorDemoPage.Models.Person.Models.IAuto>; | |
loadTsCallById(id: number): ng.IPromise<ProxyGeneratorDemoPage.Models.Person.Models.IPerson>; | |
loadTsCallByParams(name: string, vorname: string, alter: number): ng.IPromise<ProxyGeneratorDemoPage.Models.Person.Models.IPerson>; | |
voidTsReturnType(name: string): void; | |
stringTsReturnType(name: string): ng.IPromise<string>; | |
integerTsReturnType(age: number): ng.IPromise<number>; | |
} |
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
public class ProxyController : Controller | |
{ | |
[CreateAngularTsProxy(ReturnType = typeof(Auto))] | |
public JsonResult AddTsEntryAndName(Person person, string name) | |
{ | |
return Json(new Auto() { Marke = name}, JsonRequestBehavior.AllowGet); | |
} | |
[CreateAngularTsProxy(ReturnType = typeof(Person))] | |
public JsonResult LoadTsCallById(int id) |
OlderNewer