Extensions Class |
Namespace: ShellBoost.Core.Utilities
public static class Extensions
The Extensions type exposes the following members.
| Name | Description | |
|---|---|---|
| AddCF_HDROP |
Adds a CF_HDROP format to the data object.
| |
| AddCFSTR_SHELLIDLIST |
Adds a CFSTR_SHELLIDLIST format to the data object.
| |
| AddFormat(IDataObjectFormats, Int32, Byte) |
Adds a format to the data object.
This format will be used only if at least one DataObject is added.
| |
| AddFormat(IDataObjectFormats, String, Byte) |
Adds a format to the data object.
This format will be used only if at least one DataObject is added.
| |
| AddFormat(IDataObjectFormats, Int32, String, Encoding) |
Adds a text to the data object.
This format will be used only if at least one DataObject is added.
| |
| AddFormat(IDataObjectFormats, String, String, Encoding) |
Adds a format to the data object.
This format will be used only if at least one DataObject is added.
| |
| CreateShellDataObject |
Creates a data object in a parent folder.
This will automatically add CF_HDROP, CFSTR_FILENAME and CFSTR_SHELLIDLIST formats.
| |
| EnumerateAllExceptions |
Enumerates all exceptions and inner exceptions from a given exception.
| |
| GetAllMessages(Exception) |
Gets a compilation of all messages of an exception.
| |
| GetAllMessages(Exception, String) |
Gets a compilation of all messages of an exception.
| |
| GetCommonParent |
Gets the common parent ShellItemIdList folder.
| |
| GetCommonRoot |
Gets the common root ShellItemIdList folder.
| |
| GetInterestingException |
Gets the interesting exception from an exception. Removes intermediate TargetInvocationExceptions.
| |
| GetInterestingExceptionMessage |
Gets the interesting message from an exception. Removes intermediate TargetInvocationExceptions.
| |
| GetValue(IDictionaryPropertyKey, Object, PropertyKey, Object) |
Gets a value from a PropertyKey dictionary.
| |
| GetValueT(IDictionaryPropertyKey, Object, PropertyKey, T) |
Gets a value from a PropertyKey dictionary.
| |
| IsExplorer |
Determines whether the specified process is Windows Explorer.
| |
| OpenView(IntPtr, OFASI, Boolean) |
Opens a Windows Explorer window.
| |
| OpenView(IWithIdList, OFASI, Boolean) |
Opens a Windows Explorer window.
| |
| OpenViewAndSelect(IEnumerableIWithIdList, OFASI, Boolean) |
Opens a Windows Explorer window with specified items in a particular folder selected.
All children must share a common parent folder.
| |
| OpenViewAndSelect(IEnumerableIntPtr, OFASI, Boolean) |
Opens a Windows Explorer window with specified items in a particular folder selected.
All children must share a common parent folder.
| |
| ToHex(Byte) |
Converts to hexadecimal representation.
| |
| ToHex(Int16) |
Converts to hexadecimal representation.
| |
| ToHex(Int32) |
Converts to hexadecimal representation.
| |
| ToHex(Int64) |
Converts to hexadecimal representation.
| |
| ToHex(IntPtr) |
Converts to hexadecimal representation.
| |
| ToHex(NullableByte) |
Converts to hexadecimal representation.
| |
| ToHex(NullableInt16) |
Converts to hexadecimal representation.
| |
| ToHex(NullableInt32) |
Converts to hexadecimal representation.
| |
| ToHex(NullableInt64) |
Converts to hexadecimal representation.
| |
| ToHex(NullableSByte) |
Converts to hexadecimal representation.
| |
| ToHex(NullableUInt16) |
Converts to hexadecimal representation.
| |
| ToHex(NullableUInt32) |
Converts to hexadecimal representation.
| |
| ToHex(NullableUInt64) |
Converts to hexadecimal representation.
| |
| ToHex(SByte) |
Converts to hexadecimal representation.
| |
| ToHex(UInt16) |
Converts to hexadecimal representation.
| |
| ToHex(UInt32) |
Converts to hexadecimal representation.
| |
| ToHex(UInt64) |
Converts to hexadecimal representation.
| |
| WithPointer(IWithIdList, ActionIntPtr) |
Allocates a buffer, runs the specified action and free the buffer.
| |
| WithPointerT(IWithIdList, FuncIntPtr, T) |
Allocates a buffer, runs the specified function and free the buffer.
| |
| WithPointers(IEnumerableIWithIdList, ActionIReadOnlyListIntPtr) |
Allocates buffers, runs the specified action and free the buffers.
| |
| WithPointersT(IEnumerableIWithIdList, FuncIReadOnlyListIntPtr, T) |
Allocates buffers, runs the specified function and free the buffers.
|