static string ToString(DocumentFilterType o) { switch (o) { case DocumentFilterType.All: return(dnSpy_Resources.DocumentFilterType_All); case DocumentFilterType.AllSupported: return(dnSpy_Resources.DocumentFilterType_AllSupported); case DocumentFilterType.DotNetOnly: return(dnSpy_Resources.DocumentFilterType_DotNetOnly); default: Debug.Fail("Shouldn't be here"); return("???"); } }
public DocumentFilterTypeVM(DocumentFilterType documentFilterType, string text) { FilterType = documentFilterType; Text = text; }
public DocumentFilterTypeVM(DocumentFilterType documentFilterType, string text) { this.FilterType = documentFilterType; this.Text = text; }
static string ToString(DocumentFilterType o) { switch (o) { case DocumentFilterType.All: return dnSpy_Resources.DocumentFilterType_All; case DocumentFilterType.AllSupported: return dnSpy_Resources.DocumentFilterType_AllSupported; case DocumentFilterType.DotNetOnly: return dnSpy_Resources.DocumentFilterType_DotNetOnly; default: Debug.Fail("Shouldn't be here"); return "???"; } }