IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Provides icons for code-completion. More...
Public Member Functions | |
ImageSource | GetImage (Accessibility accessibility, bool isStatic=false) |
Gets this image combined with the specified accessibility overlay. More... | |
override string | ToString () |
ImageSource | GetImage (Accessibility accessibility, bool isStatic=false) |
Gets this image combined with the specified accessibility overlay. More... | |
override string | ToString () |
Static Public Member Functions | |
static CompletionImage | GetCompletionImage (IEntity entity) |
Gets the CompletionImage instance for the specified entity. Returns null when no image is available for the entity type. More... | |
static CompletionImage | GetCompletionImage (IUnresolvedEntity entity) |
Gets the CompletionImage instance for the specified entity. Returns null when no image is available for the entity type. More... | |
static ImageSource | GetImage (IEntity entity) |
Gets the image for the specified entity. Returns null when no image is available for the entity type. More... | |
static ImageSource | GetImage (IUnresolvedEntity entity) |
Gets the image for the specified entity. Returns null when no image is available for the entity type. More... | |
static ImageSource | GetAccessibilityOverlay (Accessibility accessibility) |
Gets an overlay image for the specified accessibility. Returns null if no overlay exists (for example, public members don't use overlays). More... | |
static CompletionImage | GetCompletionImage (IEntity entity) |
Gets the CompletionImage instance for the specified entity. Returns null when no image is available for the entity type. More... | |
static CompletionImage | GetCompletionImage (IUnresolvedEntity entity) |
Gets the CompletionImage instance for the specified entity. Returns null when no image is available for the entity type. More... | |
static ImageSource | GetImage (IEntity entity) |
Gets the image for the specified entity. Returns null when no image is available for the entity type. More... | |
static ImageSource | GetImage (IUnresolvedEntity entity) |
Gets the image for the specified entity. Returns null when no image is available for the entity type. More... | |
static ImageSource | GetAccessibilityOverlay (Accessibility accessibility) |
Gets an overlay image for the specified accessibility. Returns null if no overlay exists (for example, public members don't use overlays). More... | |
Properties | |
static ImageSource | NamespaceImage [get] |
Gets the image for namespaces. More... | |
static CompletionImage | Class [get] |
Gets the image used for non-static classes. More... | |
static CompletionImage | Struct [get] |
Gets the image used for structs. More... | |
static CompletionImage | Interface [get] |
Gets the image used for interfaces. More... | |
static CompletionImage | Delegate [get] |
Gets the image used for delegates. More... | |
static CompletionImage | Enum [get] |
Gets the image used for enums. More... | |
static CompletionImage | StaticClass [get] |
Gets the image used for modules/static classes. More... | |
static CompletionImage | Field [get] |
Gets the image used for non-static classes. More... | |
static CompletionImage | ReadOnlyField [get] |
Gets the image used for structs. More... | |
static CompletionImage | Literal [get] |
Gets the image used for constants. More... | |
static CompletionImage | EnumValue [get] |
Gets the image used for enum values. More... | |
static CompletionImage | Method [get] |
Gets the image used for methods. More... | |
static CompletionImage | Constructor [get] |
Gets the image used for constructos. More... | |
static CompletionImage | VirtualMethod [get] |
Gets the image used for virtual methods. More... | |
static CompletionImage | Operator [get] |
Gets the image used for operators. More... | |
static CompletionImage | ExtensionMethod [get] |
Gets the image used for extension methods. More... | |
static CompletionImage | PInvokeMethod [get] |
Gets the image used for P/Invoke methods. More... | |
static CompletionImage | Property [get] |
Gets the image used for properties. More... | |
static CompletionImage | Indexer [get] |
Gets the image used for indexers. More... | |
static CompletionImage | Event [get] |
Gets the image used for events. More... | |
ImageSource | StaticOverlay [get] |
Gets the overlay image for the static modifier. More... | |
ImageSource | BaseImage [get] |
Gets the image without any overlays. More... | |
Private Member Functions | |
CompletionImage (string imageName, bool showStaticOverlay) | |
CompletionImage (string imageName, bool showStaticOverlay) | |
Static Private Member Functions | |
static BitmapImage | LoadBitmap (string name) |
static CompletionImage | GetCompletionImageForType (TypeKind typeKind, bool isStatic) |
static int | GetAccessibilityOverlayIndex (Accessibility accessibility) |
static BitmapImage | LoadBitmap (string name) |
static CompletionImage | GetCompletionImageForType (TypeKind typeKind, bool isStatic) |
static int | GetAccessibilityOverlayIndex (Accessibility accessibility) |
Private Attributes | |
const int | AccessibilityOverlaysLength = 5 |
readonly string | imageName |
readonly bool | showStaticOverlay |
ImageSource[] | images = new ImageSource[2 * AccessibilityOverlaysLength] |
Static Private Attributes | |
static readonly BitmapImage | namespaceImage = LoadBitmap("NameSpace") |
static readonly CompletionImage | imageClass = new CompletionImage("Class", false) |
static readonly CompletionImage | imageStruct = new CompletionImage("Struct", false) |
static readonly CompletionImage | imageInterface = new CompletionImage("Interface", false) |
static readonly CompletionImage | imageDelegate = new CompletionImage("Delegate", false) |
static readonly CompletionImage | imageEnum = new CompletionImage("Enum", false) |
static readonly CompletionImage | imageStaticClass = new CompletionImage("StaticClass", false) |
static readonly CompletionImage | imageField = new CompletionImage("Field", true) |
static readonly CompletionImage | imageFieldReadOnly = new CompletionImage("FieldReadOnly", true) |
static readonly CompletionImage | imageLiteral = new CompletionImage("Literal", false) |
static readonly CompletionImage | imageEnumValue = new CompletionImage("EnumValue", false) |
static readonly CompletionImage | imageMethod = new CompletionImage("Method", true) |
static readonly CompletionImage | imageConstructor = new CompletionImage("Constructor", true) |
static readonly CompletionImage | imageVirtualMethod = new CompletionImage("VirtualMethod", true) |
static readonly CompletionImage | imageOperator = new CompletionImage("Operator", false) |
static readonly CompletionImage | imageExtensionMethod = new CompletionImage("ExtensionMethod", true) |
static readonly CompletionImage | imagePInvokeMethod = new CompletionImage("PInvokeMethod", true) |
static readonly CompletionImage | imageProperty = new CompletionImage("Property", true) |
static readonly CompletionImage | imageIndexer = new CompletionImage("Indexer", true) |
static readonly CompletionImage | imageEvent = new CompletionImage("Event", true) |
static readonly BitmapImage | overlayStatic = LoadBitmap("OverlayStatic") |
static readonly BitmapImage[] | accessibilityOverlays |
Provides icons for code-completion.
|
inlineprivate |
|
inlineprivate |
|
inlinestaticprivate |
|
inlinestatic |
Gets the CompletionImage instance for the specified entity. Returns null when no image is available for the entity type.
|
inlinestatic |
Gets the CompletionImage instance for the specified entity. Returns null when no image is available for the entity type.
|
inlinestaticprivate |
References CShellCore.CodeCompletion.Images.CompletionImage.Class, CShellCore.CodeCompletion.Images.CompletionImage.Delegate, CShellCore.CodeCompletion.Images.CompletionImage.Enum, CShellCore.CodeCompletion.Images.CompletionImage.Interface, and CShellCore.CodeCompletion.Images.CompletionImage.Struct.
|
inlinestatic |
Gets the image for the specified entity. Returns null when no image is available for the entity type.
References CShellCore.CodeCompletion.Images.CompletionImage.GetImage().
Referenced by CShellCore.CodeCompletion.DataItems.EntityCompletionData.EntityCompletionData(), and CShellCore.CodeCompletion.Images.CompletionImage.GetImage().
|
inlinestatic |
Gets the image for the specified entity. Returns null when no image is available for the entity type.
References CShellCore.CodeCompletion.Images.CompletionImage.GetImage().
|
inlinestatic |
Gets an overlay image for the specified accessibility. Returns null if no overlay exists (for example, public members don't use overlays).
|
inlinestaticprivate |
|
inline |
Gets this image combined with the specified accessibility overlay.
|
inline |
|
inlinestaticprivate |
|
inlinestatic |
Gets the CompletionImage instance for the specified entity. Returns null when no image is available for the entity type.
|
inlinestatic |
Gets the CompletionImage instance for the specified entity. Returns null when no image is available for the entity type.
|
inlinestaticprivate |
References CShellCore.CodeCompletion.Images.CompletionImage.Class, CShellCore.CodeCompletion.Images.CompletionImage.Delegate, CShellCore.CodeCompletion.Images.CompletionImage.Enum, CShellCore.CodeCompletion.Images.CompletionImage.Interface, and CShellCore.CodeCompletion.Images.CompletionImage.Struct.
|
inlinestatic |
Gets the image for the specified entity. Returns null when no image is available for the entity type.
|
inlinestatic |
Gets the image for the specified entity. Returns null when no image is available for the entity type.
|
inlinestatic |
Gets an overlay image for the specified accessibility. Returns null if no overlay exists (for example, public members don't use overlays).
|
inlinestaticprivate |
|
inline |
Gets this image combined with the specified accessibility overlay.
|
inline |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
staticget |
Gets the image for namespaces.
Referenced by CShellCore.CodeCompletion.CSharpCompletionDataFactory.CreateNamespaceCompletionData().
|
staticget |
Gets the image used for non-static classes.
Referenced by CShellCore.CodeCompletion.Images.CompletionImage.GetCompletionImageForType().
|
staticget |
Gets the image used for structs.
Referenced by CShellCore.CodeCompletion.Images.CompletionImage.GetCompletionImageForType().
|
staticget |
Gets the image used for interfaces.
Referenced by CShellCore.CodeCompletion.Images.CompletionImage.GetCompletionImageForType().
|
staticget |
Gets the image used for delegates.
Referenced by CShellCore.CodeCompletion.Images.CompletionImage.GetCompletionImageForType().
|
staticget |
Gets the image used for enums.
Referenced by CShellCore.CodeCompletion.Images.CompletionImage.GetCompletionImageForType().
|
staticget |
Gets the image used for modules/static classes.
|
staticget |
Gets the image used for non-static classes.
|
staticget |
Gets the image used for structs.
|
staticget |
Gets the image used for constants.
Referenced by CShellCore.CodeCompletion.CSharpCompletionDataFactory.CreateLiteralCompletionData().
|
staticget |
Gets the image used for enum values.
|
staticget |
Gets the image used for methods.
|
staticget |
Gets the image used for constructos.
|
staticget |
Gets the image used for virtual methods.
|
staticget |
Gets the image used for operators.
|
staticget |
Gets the image used for extension methods.
|
staticget |
Gets the image used for P/Invoke methods.
|
staticget |
Gets the image used for properties.
|
staticget |
Gets the image used for indexers.
|
staticget |
Gets the image used for events.
|
get |
Gets the overlay image for the static modifier.
|
get |
Gets the image without any overlays.
Referenced by CShellCore.CodeCompletion.CSharpCompletionDataFactory.CreateLiteralCompletionData().