Microsoft.VisualStudio.Utilities Namespace
| Class | Description | |
|---|---|---|
![]() | Accelerator | Utility methods for dealing with keyboard accelerators. |
![]() | BaseDefinitionAttribute | Represents a base definition of the current definition. |
![]() | BitRotator | Provides helper methods for rotating bits right or left. |
![]() | ContentTypeAttribute | Declares an association between an extension and a particular content type. |
![]() | ContentTypeDefinition | Defines a content type. |
![]() | DisplayNameAttribute | Provides a display name for an editor component part. |
![]() | FileExtensionAttribute | Identifies a file extension. |
![]() | FileExtensionToContentTypeDefinition | Specifies a mapping between a content type and a file extension. |
![]() | FileStreamStorage<'TKey> | A generic implementation of stream storage in the file system. Stores files in a directory. The files it recognizes and accepts for creation can be all files in the directory or only files with a specific extension. |
![]() | GZip | Provides methods for compressing/decompressing a byte array using the GZip algorithm. |
![]() | MultipleBaseMetadataAttribute | A base class for attributes that can appear multiple times on a single component part. |
![]() | NameAttribute | Associates a name with an editor extension part. |
![]() | OrderAttribute | Orders multiple instances of an extension part. |
![]() | Orderer | Performs a topological sort of orderable extension parts. |
![]() | PropertyCollection | Allows property owners to control the lifetimes of the properties in the collection. |
![]() | ReusableArray<'T> | Stores a reusable array. The size of the array can be either the requested size exactly or at least the requested size, depending on the value of the requiresExactSize parameter. |
![]() | ReusableMemoryStream | Stores a reusable MemoryStream. The MemoryStream will only be stored for reuse if its Capacity does not exceed the maximumStreamCapacity used when constructing the ReusableMemoryStream. |
![]() | ReusableResourceStore<'TResource> | tores a resource that requires no constructor parameters for instantiation. See ReusableResourceStoreBase for more information. |
![]() | ReusableResourceStore<'TResource, 'TConstructorParameter> | Stores a resource that requires a single constructor parameter for instantiation. See ReusableResourceStoreBase for more information. |
![]() | ReusableResourceStoreBase<'TResource> | Provides a base class for storing a frequently-used object that can be reused instead of reallocated, such as StringBuilders or small arrays. |
![]() | ReusableStringBuilder | Represents a reusable StringBuilder. The StringBuilder is cleared after each cleanup to remove content from the previous usage. |
![]() | SerializationExtensions | Provides a set of extension methods for serialization. |
![]() | SingletonBaseMetadataAttribute | A base class for attributes that can appear only once on a single component part. |
![]() | StreamAccessException | Represents an error that occurred when trying to access a Stream in storage. |
![]() | StreamException | Represents errors that occur when accessing Stream storage. |
![]() | StreamNotFoundException | Represents the error that occurs when a Stream is not found in storage. |
![]() | StreamStorageMonitor<'TKey> | Monitors the size of an IStreamStorage via its IStreamStorageEvents interface. If the number of streams or the collective size of streams in the storage exceed given target thresholds, streams are deleted from the storage until the number/size of streams falls below the target thresholds. |
![]() | Tracer | Traces different kinds of events. |
![]() | VersionedBinaryReader | A BinaryReader that reads a versioned byte stream. |
![]() | VersionedBinaryWriter | A BinaryWriter that writes a versioned byte stream. |
| Structure | Description | |
|---|---|---|
![]() | OneOrMany<'T>.Enumerator | A struct-based enumerator. Just enough is implemented to satisfy the foreach pattern. Note that the enumerator is not invalidated by updates to the underlying collection. |
![]() | Int16Size | Represents a size using Int16 values for Width/Height, meaning it occupies 4 bytes instead of the 16 bytes required for System.Windows.Size (which uses doubles for Width/Height). This is useful in situations where an integral range of [0-32767] for Width/Height is sufficient and the space occupied by the structure is of concern. |
![]() | OneOrMany<'T> | A collection of T that is optimized for minimal space in the case of a single element. |
![]() | ReusableResourceHolder<'TResource> | Holds a reference to a shared resource allocated by a ReusableResourceStoreBase and releases the resource back to the ReusableResourceStoreBase upon dispose. |
| Interface | Description | |
|---|---|---|
![]() | IContentType | The content type of an object. |
![]() | IContentTypeDefinition | Describes a content type that is being introduced using IContentTypeDefinitionSource. |
![]() | IContentTypeDefinitionSource | Defines an alternate source for content type definitions that should be processed together with content types introduced statically using ContentTypeDefinition. |
![]() | IContentTypeRegistryService | The service that maintains the collection of content types. |
![]() | IFileExtensionRegistryService | The service that manages associations between file extensions and content types. |
![]() | IOrderable | Associated with an orderable part. |
![]() | IOrderedStreamStorage<'TKey> | Interface to an ordered storage of Streams. Each stream is identified by a key and is located at a given position (represented as an index) in storage. |
![]() | IPropertyOwner | Provides ownership of an arbitrary set of properties. |
![]() | IStreamStorage<'TKey> | A Stream storage. Each Stream in storage is identified by a key. |
![]() | IStreamStorageEvents<'TKey> | Defines events to notify of changes to streams in an IStreamStorage. If an implementing class can support change notifications, it should also implement IStreamStorageEvents. |
![]() | IStreamStorageKeyFactory<'T> | Represents an IStreamStorage key object factory that takes as parameter a stream name. |
![]() | ITelemetryIdProvider<'Tid> | |
![]() | ITracer | Provides an event tracer. |
| Delegate | Description | |
|---|---|---|
![]() | VersionedBinaryReader.MultiVersionReadCallback | Delegate that will read the body of the stream. It explicitly handles the case where actualVersion does not equal expectedVersion. |
![]() | VersionedBinaryReader.ReadCallback | Delegate that will read the body of the stream. |
![]() | VersionedBinaryWriter.WriteCallback | A delegate that will write the body of the stream. |
| Enumeration | Description | |
|---|---|---|
![]() | StreamAccess | Specifies the type of access. |
![]() | TimestampKind | Describes the kind of timestamp. |




