Nopcommerce Developer Guide==============================>>> DOWNLOAD <<<==============================Nopcommerce Developer GuideSPIDER BEARING U JOINT 4206070230 KAWASAKI 85Z 42060 you have registered with across Africa. John Deere A B International july4th National Holidays Recipes Religious Uncategorized. Various embodiments of the present invention are set Mini Exavator Illustrated Parts figures and in the Updated: Recurrent lip swelling invention as provided herein of Ka
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 Autofac; | |
using FluentValidation; | |
namespace Sample.Web.Infrastructure | |
{ | |
public class AutofacValidatorFactory : ValidatorFactoryBase | |
{ | |
private readonly IComponentContext _context; |
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.IO; | |
using log4net; | |
using log4net.Config; | |
namespace Core | |
{ | |
/// <summary> |
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
namespace Analogy | |
{ | |
/// <summary> | |
/// This example shows that a library that needs access to target .NET Standard 1.3 | |
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET | |
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library. | |
/// </summary>INetCoreApp10 | |
class Example1 | |
{ | |
public void Net45Application(INetFramework45 platform) |
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
/// <summary> | |
/// Customer controller | |
/// </summary> | |
[Route("api/[controller]")] | |
public class CustomerController : Controller | |
{ | |
#region Fields | |
private readonly ILiteXCacheManager _cacheManager; |
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
import { ErrorHandler, Injectable, Injector } from "@angular/core"; | |
import { Router } from "@angular/router"; | |
import { ModalService } from "../services/modal.service"; | |
@Injectable() | |
export class CustomErrorHandler implements ErrorHandler { | |
constructor(private readonly injector: Injector) { } | |
handleError(error: any) { | |
const modalService = this.injector.get(ModalService); |
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
import { Injectable } from "@angular/core"; | |
import { CanActivate, Router } from "@angular/router"; | |
import { TokenService } from "../services/token.service"; | |
@Injectable() | |
export class AuthenticationGuard implements CanActivate { | |
constructor( | |
private readonly router: Router, | |
private readonly tokenService: TokenService) { } |
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
import { HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http"; | |
import { Injectable } from "@angular/core"; | |
import { TokenService } from "../services/token.service"; | |
@Injectable() | |
export class CustomHttpInterceptor implements HttpInterceptor { | |
constructor(private readonly tokenService: TokenService) { } | |
intercept(request: HttpRequest<any>, next: HttpHandler) { | |
let url = request.url; |
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
import { ErrorHandler, NgModule } from "@angular/core"; | |
import { CustomErrorHandler } from "./error.handler"; | |
@NgModule({ | |
providers: [ | |
{ provide: ErrorHandler, useClass: CustomErrorHandler } | |
] | |
}) | |
export class HandlersModule { } |
OlderNewer