예제 #1
0
        /// <summary>
        /// Compares this conversion path with another for their equality of <see cref="From"/> and <see cref="To"/> types
        /// </summary>
        /// <param name="obj">The color to compare to</param>
        /// <returns>True if they are the same, false otherwise</returns>
        public override bool Equals(object obj)
        {
            ConversionPath c = obj as ConversionPath;

            if ((object)c == null)
            {
                return(false);
            }
            return(this == c);
        }
예제 #2
0
 public SubPath(ConversionPath Path, List <SubPath> Sub)
 {
     this.Path = Path;
     this.Sub  = Sub;
 }
예제 #3
0
 public SubPath(ConversionPath Path)
 {
     this.Path = Path;
 }