Dil

ReplacingExpressionVisitor.Replace Yöntem

Tanım

Aşırı Yüklemeler

Veri Akışı Adı Description
Replace(IReadOnlyList<Expression>, IReadOnlyList<Expression>, Expression)

Verilen ifade ağacında bir ifadeyi başka bir ifadeyle değiştirir.

Replace(Expression, Expression, Expression)

Verilen ifade ağacında bir ifadeyi başka bir ifadeyle değiştirir.

Replace(IReadOnlyList<Expression>, IReadOnlyList<Expression>, Expression)

Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs

Verilen ifade ağacında bir ifadeyi başka bir ifadeyle değiştirir.

public static System.Linq.Expressions.Expression Replace(System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> originals, System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> replacements, System.Linq.Expressions.Expression tree);
static member Replace : System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> * System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Public Shared Function Replace (originals As IReadOnlyList(Of Expression), replacements As IReadOnlyList(Of Expression), tree As Expression) As Expression

Parametreler

originals
IReadOnlyList<Expression>

Değiştirilecek özgün ifadelerin listesi.

replacements
IReadOnlyList<Expression>

Değiştirme olarak kullanılacak ifadelerin listesi.

tree
Expression

Değiştirmenin gerçekleştirileceği ifade ağacı.

Döndürülenler

Değiştirmelerin yapıldığı bir ifade ağacı.

Şunlara uygulanır

Replace(Expression, Expression, Expression)

Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs
Kaynak:
ReplacingExpressionVisitor.cs

Verilen ifade ağacında bir ifadeyi başka bir ifadeyle değiştirir.

public static System.Linq.Expressions.Expression Replace(System.Linq.Expressions.Expression original, System.Linq.Expressions.Expression replacement, System.Linq.Expressions.Expression tree);
static member Replace : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Public Shared Function Replace (original As Expression, replacement As Expression, tree As Expression) As Expression

Parametreler

original
Expression

Değiştirilecek ifade.

replacement
Expression

Değiştirme olarak kullanılacak ifade.

tree
Expression

Değiştirmenin gerçekleştirileceği ifade ağacı.

Döndürülenler

Değiştirmelerin yapıldığı bir ifade ağacı.

Şunlara uygulanır