Condividi tramite


SourceLocation.Addition(SourceLocation, SourceLocation) Operatore

Definizione

Aggiunge due 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

Parametri

left
SourceLocation

Operando sinistro.

right
SourceLocation

Operando destro.

Restituisce

Oggetto SourceLocation che corrisponde alla somma degli operandi sinistro e destro.

Eccezioni

se l'operando FilePath sinistro e destro è diverso e nessuno è null.

Si applica a