private bool CoreMatch(Code code) { return code.value.Length == 22; }
public string Extract(Code code) { _code = code; Execute(); return _result; }
public virtual CodeDto Map(Code code) { _code = code; MapCore(); return _result; }
public virtual bool Matches(Code code) { return CoreMatch(code); }
private bool CoreMatch(Code code) { return _lengthOfCodePredicate.Matches(code) && _applicationIdentifierPredicate.Matches(code); }
private bool MatchesCore(Code code) { return code.value.IndexOf("(") == 0 && code.value.IndexOf(")") ==3; }
public virtual bool Matches(Code code) { return MatchesCore(code); }
public virtual void Setup(Code code) { _innerCode = code; }
public virtual CodeDto Create(Code RawCode) { return _codeToDtoMapper.Map(RawCode); }