public virtual bool IsModule(Type type) { return(type.IsClass && type.IsSealed && !type.IsNestedPublic && MetadataUtil.IsAttributeDefined(type, Types.ModuleAttribute)); }
public bool IsDefined(IType attributeType) { ExternalType type = attributeType as ExternalType; if (null == type) { return(false); } return(MetadataUtil.IsAttributeDefined(_memberInfo, type.ActualType)); }
bool IsAttributeDefined(System.Type attributeType) { IType entity = _typeSystemServices.Map(attributeType); return(MetadataUtil.IsAttributeDefined(_method, entity)); }
bool IsModule(Type type) { return(MetadataUtil.IsAttributeDefined(type, Types.ModuleAttribute)); }