Esempio n. 1
0
 public bool PatternCheck(IConversionDiscription pattern)
 {
     if (pattern.ConversionType != null && pattern.DestType != null && pattern.ToThirdPartyServiceDirection != null && pattern.ThirdPartyServiceType != null
          && pattern.SourceType!=null)
         return true;
     return false;
 }
        public bool PartialEquals(IConversionDiscription pattern)
        {

            if (TypeIs(DestType, pattern.DestType) && TypeIs(SourceType, pattern.SourceType) && PartialSpecificEquals(ThirdPartyServiceType, pattern.ThirdPartyServiceType)
                && PartialSpecificEquals(ToThirdPartyServiceDirection, pattern.ToThirdPartyServiceDirection)
                && PartialSpecificEquals(ConversionType, pattern.ConversionType))

                return true;
            return false;
        }