Exemple #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);
        }
Exemple #2
0
 public SubPath(ConversionPath Path, List <SubPath> Sub)
 {
     this.Path = Path;
     this.Sub  = Sub;
 }
Exemple #3
0
 public SubPath(ConversionPath Path)
 {
     this.Path = Path;
 }