示例#1
0
        protected override void OnQueryStatus()
        {
            IAssetReferenceService referenceservice = ServiceProvider.GetService <IAssetReferenceService>(true);

            Visible = referenceservice.IsAssetEnabledFor(recipe.Name, GetTarget());
        }