AutoLazy.Fody.LazyVisitor.IsLazy C# (CSharp) Method

IsLazy() private method

private IsLazy ( ICustomAttributeProvider target ) : bool
target ICustomAttributeProvider
return bool
        private bool IsLazy(ICustomAttributeProvider target)
        {
            return target.HasCustomAttributes && target.CustomAttributes.Any(a => a.AttributeType.FullName == "AutoLazy.LazyAttribute");
        }