Compartilhar via


SourceLocation.Addition(SourceLocation, SourceLocation) Operador

Definição

Adiciona dois SourceLocations.

public:
 static Microsoft::AspNetCore::Razor::SourceLocation operator +(Microsoft::AspNetCore::Razor::SourceLocation left, Microsoft::AspNetCore::Razor::SourceLocation right);
public static Microsoft.AspNetCore.Razor.SourceLocation operator + (Microsoft.AspNetCore.Razor.SourceLocation left, Microsoft.AspNetCore.Razor.SourceLocation right);
static member ( + ) : Microsoft.AspNetCore.Razor.SourceLocation * Microsoft.AspNetCore.Razor.SourceLocation -> Microsoft.AspNetCore.Razor.SourceLocation
Public Shared Operator + (left As SourceLocation, right As SourceLocation) As SourceLocation

Parâmetros

left
SourceLocation

O operando esquerdo.

right
SourceLocation

O operando direito.

Retornos

Um SourceLocation que é a soma dos operandos esquerdo e direito.

Exceções

se o FilePath dos operandos esquerdo e direito for diferente e nenhum for nulo.

Aplica-se a