HandCoded.Meta.Conversion.ConversionFor C# (CSharp) Method

ConversionFor() public static method

Attempts to find a Conversion that will transform a XmlDocument between the two specified releases. The releases must be different, null transformations are not allowed.
public static ConversionFor ( Release source, Release target ) : Conversion
source Release The source to convert from.
target Release The target to convert to.
return Conversion
        public static Conversion ConversionFor(Release source, Release target)
        {
            return ((source != target) ? DepthFirstSearch (source, target, new Stack ()) : null);
        }