﻿using System;

namespace Einstein.Entity.Web
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true, Inherited = false)]
    public class DownloadAttribute : ClaimRestrictionAttribute
    {
        public DownloadAttribute(string claimType = null, string value = null) :
            base(claimType, value, RestrictBehavior.OnMatch)
        {
        }
    }
}
