コード例 #1
0
ファイル: FormElementDriver.cs プロジェクト: kumards/Orchard
        private static bool IsFormBindingContentType(ContentTypeDefinition contentTypeDefinition)
        {
            var blacklist = new[] { "Site", "Layer" };

            return(!blacklist.Any(x => contentTypeDefinition.Name == x) && String.IsNullOrEmpty(contentTypeDefinition.Stereotype()));
        }