// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Diagnostics.CodeAnalysis; namespace Microsoft.Management.UI.Internal { /// /// Defines an interface for a factory that creates /// StateDescriptors. /// /// The type T used by the StateDescriptor. [SuppressMessage("Microsoft.MSInternal", "CA903:InternalNamespaceShouldNotContainPublicTypes")] public interface IStateDescriptorFactory { /// /// Creates a new StateDescriptor based upon custom /// logic. /// /// A new StateDescriptor. StateDescriptor Create(); } }