Ejemplo n.º 1
0
 public RequestConditions BuildRequestConditions(
     AccessConditionParameters parameters)
 => new RequestConditions
 {
     IfModifiedSince   = parameters.IfModifiedSince,
     IfUnmodifiedSince = parameters.IfUnmodifiedSince,
     IfMatch           = parameters.Match != null ? new ETag(parameters.Match) : default(ETag?),
     IfNoneMatch       = parameters.NoneMatch != null ? new ETag(parameters.NoneMatch) : default(ETag?)
 };
Ejemplo n.º 2
0
 protected abstract TRequestConditions BuildRequestConditions(AccessConditionParameters parameters, bool lease = true);