語言

CSharpSnapshotGeneratorParameters.Scope 屬性

定義

目前範圍內的識別碼集合。 引入新局部的產生元(例如 var index = b.HasIndex(...);)應從具有此作用域的名稱 Identifier(String, ICollection<String>, Nullable<Boolean>) 中選擇,以避免該名稱與同一 lambda 體中的其他識別碼發生衝突。

public System.Collections.Generic.ICollection<string> Scope { get; init; }
member this.Scope : System.Collections.Generic.ICollection<string> with get, set
Public Property Scope As ICollection(Of String)

屬性值

適用於