DisplayFor() public method

public DisplayFor ( object value ) : object
value object
return object
        public void with_additional_parameters()
        {
            var displayClass = new DisplayClassAttribute(typeof(BoolDisplay), "T", "F");

            Check.That(() => displayClass.DisplayFor(true).ToString() == "T");
        }
        public void default_is_value_based_ctor()
        {
            var displayClass = new DisplayClassAttribute(typeof(BoolDisplay));

            Check.That(() => displayClass.DisplayFor(true).ToString() == "true");
        }