C# Class Raven.Database.Linq.Ast.TransformNullCoalasingOperatorTransformer

Inheritance: ICSharpCode.NRefactory.Visitors.AbstractAstTransformer
Afficher le fichier Open project: nhsevidence/ravendb

Méthodes publiques

Méthode Description
VisitBinaryOperatorExpression ( BinaryOperatorExpression binaryOperatorExpression, object data ) : object

We have to replace code such as: doc.FirstName ?? "" Into doc.FirstName != null ? doc.FirstName : "" Because we use DynamicNullObject instead of null, and that preserve the null coallasing semantics.

Method Details

VisitBinaryOperatorExpression() public méthode

We have to replace code such as: doc.FirstName ?? "" Into doc.FirstName != null ? doc.FirstName : "" Because we use DynamicNullObject instead of null, and that preserve the null coallasing semantics.
public VisitBinaryOperatorExpression ( BinaryOperatorExpression binaryOperatorExpression, object data ) : object
binaryOperatorExpression ICSharpCode.NRefactory.Ast.BinaryOperatorExpression
data object
Résultat object