namespace UniScan.Core.Conversion; /// /// Interface which defines a static converter function from TFrom to TSelf. /// /// The type to convert from /// The type to convert to (usually self) public interface ICanConvertFrom { /// /// Converts a value of type TFrom to TSelf. /// /// The value to convert from /// The converted value public static abstract TSelf ConvertFrom(TFrom from); }