@@ -23,39 +23,39 @@ public class CodeExplorerMemberViewModel : CodeExplorerItemViewModel, ICodeExplo
23
23
private static readonly IDictionary < Tuple < DeclarationType , Accessibility > , BitmapImage > Mappings =
24
24
new Dictionary < Tuple < DeclarationType , Accessibility > , BitmapImage >
25
25
{
26
- { Tuple . Create ( DeclarationType . Constant , Accessibility . Private ) , GetImageSource ( resx . VSObject_Constant_Private ) } ,
27
- { Tuple . Create ( DeclarationType . Constant , Accessibility . Public ) , GetImageSource ( resx . VSObject_Constant ) } ,
28
- { Tuple . Create ( DeclarationType . Enumeration , Accessibility . Public ) , GetImageSource ( resx . VSObject_Enum ) } ,
29
- { Tuple . Create ( DeclarationType . Enumeration , Accessibility . Private ) , GetImageSource ( resx . VSObject_EnumPrivate ) } ,
30
- { Tuple . Create ( DeclarationType . EnumerationMember , Accessibility . Public ) , GetImageSource ( resx . VSObject_EnumItem ) } ,
31
- { Tuple . Create ( DeclarationType . Event , Accessibility . Public ) , GetImageSource ( resx . VSObject_Event ) } ,
32
- { Tuple . Create ( DeclarationType . Event , Accessibility . Private ) , GetImageSource ( resx . VSObject_Event_Private ) } ,
33
- { Tuple . Create ( DeclarationType . Function , Accessibility . Public ) , GetImageSource ( resx . VSObject_Method ) } ,
34
- { Tuple . Create ( DeclarationType . Function , Accessibility . Friend ) , GetImageSource ( resx . VSObject_Method_Friend ) } ,
35
- { Tuple . Create ( DeclarationType . Function , Accessibility . Private ) , GetImageSource ( resx . VSObject_Method_Private ) } ,
36
- { Tuple . Create ( DeclarationType . LibraryFunction , Accessibility . Public ) , GetImageSource ( resx . VSObject_Method_Shortcut ) } ,
37
- { Tuple . Create ( DeclarationType . LibraryProcedure , Accessibility . Public ) , GetImageSource ( resx . VSObject_Method_Shortcut ) } ,
38
- { Tuple . Create ( DeclarationType . LibraryFunction , Accessibility . Private ) , GetImageSource ( resx . VSObject_Method_Shortcut ) } ,
39
- { Tuple . Create ( DeclarationType . LibraryProcedure , Accessibility . Private ) , GetImageSource ( resx . VSObject_Method_Shortcut ) } ,
40
- { Tuple . Create ( DeclarationType . LibraryFunction , Accessibility . Friend ) , GetImageSource ( resx . VSObject_Method_Shortcut ) } ,
41
- { Tuple . Create ( DeclarationType . LibraryProcedure , Accessibility . Friend ) , GetImageSource ( resx . VSObject_Method_Shortcut ) } ,
42
- { Tuple . Create ( DeclarationType . Procedure , Accessibility . Public ) , GetImageSource ( resx . VSObject_Method ) } ,
43
- { Tuple . Create ( DeclarationType . Procedure , Accessibility . Friend ) , GetImageSource ( resx . VSObject_Method_Friend ) } ,
44
- { Tuple . Create ( DeclarationType . Procedure , Accessibility . Private ) , GetImageSource ( resx . VSObject_Method_Private ) } ,
45
- { Tuple . Create ( DeclarationType . PropertyGet , Accessibility . Public ) , GetImageSource ( resx . VSObject_Properties ) } ,
46
- { Tuple . Create ( DeclarationType . PropertyGet , Accessibility . Friend ) , GetImageSource ( resx . VSObject_Properties_Friend ) } ,
47
- { Tuple . Create ( DeclarationType . PropertyGet , Accessibility . Private ) , GetImageSource ( resx . VSObject_Properties_Private ) } ,
48
- { Tuple . Create ( DeclarationType . PropertyLet , Accessibility . Public ) , GetImageSource ( resx . VSObject_Properties ) } ,
49
- { Tuple . Create ( DeclarationType . PropertyLet , Accessibility . Friend ) , GetImageSource ( resx . VSObject_Properties_Friend ) } ,
50
- { Tuple . Create ( DeclarationType . PropertyLet , Accessibility . Private ) , GetImageSource ( resx . VSObject_Properties_Private ) } ,
51
- { Tuple . Create ( DeclarationType . PropertySet , Accessibility . Public ) , GetImageSource ( resx . VSObject_Properties ) } ,
52
- { Tuple . Create ( DeclarationType . PropertySet , Accessibility . Friend ) , GetImageSource ( resx . VSObject_Properties_Friend ) } ,
53
- { Tuple . Create ( DeclarationType . PropertySet , Accessibility . Private ) , GetImageSource ( resx . VSObject_Properties_Private ) } ,
54
- { Tuple . Create ( DeclarationType . UserDefinedType , Accessibility . Public ) , GetImageSource ( resx . VSObject_ValueType ) } ,
55
- { Tuple . Create ( DeclarationType . UserDefinedType , Accessibility . Private ) , GetImageSource ( resx . VSObject_ValueTypePrivate ) } ,
56
- { Tuple . Create ( DeclarationType . UserDefinedTypeMember , Accessibility . Public ) , GetImageSource ( resx . VSObject_Field ) } ,
57
- { Tuple . Create ( DeclarationType . Variable , Accessibility . Private ) , GetImageSource ( resx . VSObject_Field_Private ) } ,
58
- { Tuple . Create ( DeclarationType . Variable , Accessibility . Public ) , GetImageSource ( resx . VSObject_Field ) } ,
26
+ { Tuple . Create ( DeclarationType . Constant , Accessibility . Private ) , GetImageSource ( resx . ObjectConstantPrivate ) } ,
27
+ { Tuple . Create ( DeclarationType . Constant , Accessibility . Public ) , GetImageSource ( resx . ObjectConstant ) } ,
28
+ { Tuple . Create ( DeclarationType . Enumeration , Accessibility . Public ) , GetImageSource ( resx . ObjectEnum ) } ,
29
+ { Tuple . Create ( DeclarationType . Enumeration , Accessibility . Private ) , GetImageSource ( resx . ObjectEnumPrivate ) } ,
30
+ { Tuple . Create ( DeclarationType . EnumerationMember , Accessibility . Public ) , GetImageSource ( resx . ObjectEnumItem ) } ,
31
+ { Tuple . Create ( DeclarationType . Event , Accessibility . Public ) , GetImageSource ( resx . ObjectEvent ) } ,
32
+ { Tuple . Create ( DeclarationType . Event , Accessibility . Private ) , GetImageSource ( resx . ObjectEventPrivate ) } ,
33
+ { Tuple . Create ( DeclarationType . Function , Accessibility . Public ) , GetImageSource ( resx . ObjectMethod ) } ,
34
+ { Tuple . Create ( DeclarationType . Function , Accessibility . Friend ) , GetImageSource ( resx . ObjectMethodFriend ) } ,
35
+ { Tuple . Create ( DeclarationType . Function , Accessibility . Private ) , GetImageSource ( resx . ObjectMethodPrivate ) } ,
36
+ { Tuple . Create ( DeclarationType . LibraryFunction , Accessibility . Public ) , GetImageSource ( resx . ObjectMethodShortcut ) } ,
37
+ { Tuple . Create ( DeclarationType . LibraryProcedure , Accessibility . Public ) , GetImageSource ( resx . ObjectMethodShortcut ) } ,
38
+ { Tuple . Create ( DeclarationType . LibraryFunction , Accessibility . Private ) , GetImageSource ( resx . ObjectMethodShortcut ) } ,
39
+ { Tuple . Create ( DeclarationType . LibraryProcedure , Accessibility . Private ) , GetImageSource ( resx . ObjectMethodShortcut ) } ,
40
+ { Tuple . Create ( DeclarationType . LibraryFunction , Accessibility . Friend ) , GetImageSource ( resx . ObjectMethodShortcut ) } ,
41
+ { Tuple . Create ( DeclarationType . LibraryProcedure , Accessibility . Friend ) , GetImageSource ( resx . ObjectMethodShortcut ) } ,
42
+ { Tuple . Create ( DeclarationType . Procedure , Accessibility . Public ) , GetImageSource ( resx . ObjectMethod ) } ,
43
+ { Tuple . Create ( DeclarationType . Procedure , Accessibility . Friend ) , GetImageSource ( resx . ObjectMethodFriend ) } ,
44
+ { Tuple . Create ( DeclarationType . Procedure , Accessibility . Private ) , GetImageSource ( resx . ObjectMethodPrivate ) } ,
45
+ { Tuple . Create ( DeclarationType . PropertyGet , Accessibility . Public ) , GetImageSource ( resx . ObjectProperties ) } ,
46
+ { Tuple . Create ( DeclarationType . PropertyGet , Accessibility . Friend ) , GetImageSource ( resx . ObjectPropertiesFriend ) } ,
47
+ { Tuple . Create ( DeclarationType . PropertyGet , Accessibility . Private ) , GetImageSource ( resx . ObjectPropertiesPrivate ) } ,
48
+ { Tuple . Create ( DeclarationType . PropertyLet , Accessibility . Public ) , GetImageSource ( resx . ObjectProperties ) } ,
49
+ { Tuple . Create ( DeclarationType . PropertyLet , Accessibility . Friend ) , GetImageSource ( resx . ObjectPropertiesFriend ) } ,
50
+ { Tuple . Create ( DeclarationType . PropertyLet , Accessibility . Private ) , GetImageSource ( resx . ObjectPropertiesPrivate ) } ,
51
+ { Tuple . Create ( DeclarationType . PropertySet , Accessibility . Public ) , GetImageSource ( resx . ObjectProperties ) } ,
52
+ { Tuple . Create ( DeclarationType . PropertySet , Accessibility . Friend ) , GetImageSource ( resx . ObjectPropertiesFriend ) } ,
53
+ { Tuple . Create ( DeclarationType . PropertySet , Accessibility . Private ) , GetImageSource ( resx . ObjectPropertiesPrivate ) } ,
54
+ { Tuple . Create ( DeclarationType . UserDefinedType , Accessibility . Public ) , GetImageSource ( resx . ObjectValueType ) } ,
55
+ { Tuple . Create ( DeclarationType . UserDefinedType , Accessibility . Private ) , GetImageSource ( resx . ObjectValueTypePrivate ) } ,
56
+ { Tuple . Create ( DeclarationType . UserDefinedTypeMember , Accessibility . Public ) , GetImageSource ( resx . ObjectField ) } ,
57
+ { Tuple . Create ( DeclarationType . Variable , Accessibility . Private ) , GetImageSource ( resx . ObjectFieldPrivate ) } ,
58
+ { Tuple . Create ( DeclarationType . Variable , Accessibility . Public ) , GetImageSource ( resx . ObjectField ) } ,
59
59
} ;
60
60
61
61
public CodeExplorerMemberViewModel ( CodeExplorerItemViewModel parent , Declaration declaration , IEnumerable < Declaration > declarations )
0 commit comments