Example #1
0
 public string Get(IFormatReader parameter)
 =>
 parameter.Name.Contains(_separator)
                                 ? IdentityFormatter.Default.Get(parameter.Identifier == string.Empty
                                                                         ? parameter.Get(parameter.Name, string.Empty)
                                                                         : parameter)
                                 : _formatter.Get(parameter);
Example #2
0
        public bool IsSatisfiedBy(IInnerContent parameter)
        {
            var content = parameter.Get();
            var key     = _formatter.Get(content);
            var member  = _serialization.Get(key);
            var result  = member != null;

            if (result)
            {
                _handler.Handle(parameter, member);
            }
            return(result);
        }
Example #3
0
 public string Get(IFormatReader parameter) => _formatter.Get(parameter);