コード例 #1
0
ファイル: XamlTypeInvoker.cs プロジェクト: pmq20/mono_forked
 public virtual MethodInfo GetAddMethod(XamlType contentType)
 {
     return(type == null || type.UnderlyingType == null || type.ItemType == null || type.LookupCollectionKind() == XamlCollectionKind.None ? null : type.UnderlyingType.GetMethod("Add", new Type [] { contentType.UnderlyingType }));
 }