пятница, 30 октября 2015 г.

Element21

public abstract class Element21<TKey, TItem, TList> : Element1<TKey>,
        IElement21<TKey,TItem>,
        IHaveUri
        where TItem : class, IElement1<TKey>, IHaveKey<TKey> , IHaveInit
        where TList : IContainer<TKey, TItem>
        //where TList : ICollection<TItem>

Отличается от Element2 тем. что сериализация происходит в Builder, а не в Init() как в Element2

public static T Build2<T, TKey, TItem>(XDocument xdoc, string root) 
            where T : class
            where TItem : class, IHaveKey<TKey>
        {}

Комментариев нет:

Отправить комментарий