Accord.Controls.RangeTypeConverter.Assign C# (CSharp) Method

Assign() public static method

Assign this converter to the AForge types. This method should be called before an AForge range type can be bound to controls such as the PropertyGrid.
public static Assign ( ) : void
return void
        public static void Assign()
        {
            TypeDescriptor.AddAttributes(typeof(DoubleRange), new TypeConverterAttribute(typeof(RangeTypeConverter)));
            TypeDescriptor.AddAttributes(typeof(IntRange), new TypeConverterAttribute(typeof(RangeTypeConverter)));
        }
    }