예제 #1
0
        protected override Optional <T> TryGet(T item)
        {
            var ret = Root.FindKvp(item);

            return(ret.IsSome ? ret.Value.Key.AsSome() : Optional.None);
        }
예제 #2
0
 protected override Optional <KeyValuePair <TKey, TValue> > TryGetKvp(TKey key)
 {
     return(Root.FindKvp(key));
 }
예제 #3
0
 public Optional <KeyValuePair <TKey, TValue> > TryGetKvp(TKey key)
 {
     return(_inner.FindKvp(key));
 }