System.Xml.Serialization.Configuration.SchemaImporterExtensionElement.TypeTypeConverter.ConvertFrom C# (CSharp) 메소드

ConvertFrom() 공개 메소드

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
리턴 object
            public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) {
                if (value is string) {
                    return new TypeAndName((string) value);
                }

                return base.ConvertFrom(context, culture, value);
            }
SchemaImporterExtensionElement.TypeTypeConverter