Esempio n. 1
0
            public object FromEntry(DocumentModel.DynamoDBEntry entry)
            {
                S3ClientCache cache;

                if (!S3Link.Caches.TryGetValue(context, out cache))
                {
                    cache = S3Link.CreatClientCacheFromContext(context);
                }
                return(new S3Link(cache, entry.AsString()));
            }
Esempio n. 2
0
            public object FromEntry(DocumentModel.DynamoDBEntry entry)
            {
                S3ClientCache cache;

                if (!S3Link.Caches.TryGetValue(context, out cache))
                {
                    throw new InvalidOperationException("Must use S3Link.Create");
                }
                return(new S3Link(cache, entry.AsString()));
            }