Пример #1
0
            static void Generate()
            {
                PropertyGenerator <TContainer, TList> .Preserve();

                PropertyVisitor.AOT.RegisterCollection <TContainer, TList, TElement>();
                PropertyVisitor.AOT.RegisterList <TContainer, TList, TElement>();

                var container = default(TContainer);
                var list      = default(TList);

#pragma warning disable 1720
                // ReSharper disable once PossibleNullReferenceException
                default(IListPropertyAccept <TList>).Accept(default, default, ref container, ref list);