Ejemplo n.º 1
0
        public static LinkedMemberInfo CreateIndexer(LinkedMemberHierarchy hierarchy, LinkedMemberInfo parent, [NotNull] PropertyInfo propertyInfo, LinkedMemberParent parentType)
        {
            IndexerData memberData;

            if (!indexerPool.TryGet(out memberData))
            {
                memberData = new IndexerData();
            }
            var created = Create(hierarchy, memberData);

            created.SetupIndexer(parent, propertyInfo, parentType);
            return(created);
        }
Ejemplo n.º 2
0
 public static void Dispose(IndexerData memberData)
 {
     indexerPool.Dispose(ref memberData);
 }