Пример #1
0
 /// <summary>
 /// 判断是否定义了ExportAttribute的特性
 /// </summary>
 /// <param name="type">类型</param>
 /// <returns>定义标志</returns>
 private static bool IsDefinedExport(Type type)
 {
     return(type.IsDefined(_portAttributeType, false));
 }