System.ComponentModel.TypeDescriptor.GetProvider C# (CSharp) 메소드

GetProvider() 개인적인 메소드

private GetProvider ( Type type ) : TypeDescriptionProvider
type System.Type
리턴 TypeDescriptionProvider
        public static TypeDescriptionProvider GetProvider(Type type)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type));
            }

            return NodeFor(type, true);
        }

Same methods

TypeDescriptor::GetProvider ( object instance ) : TypeDescriptionProvider

Usage Example

예제 #1
0
        public static void Add(Type type)
        {
            TypeDescriptionProvider parent = TypeDescriptor.GetProvider(type);

            TypeDescriptor.AddProvider(new HyperTypeDescriptionProvider(parent), type);
        }
All Usage Examples Of System.ComponentModel.TypeDescriptor::GetProvider