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