Пример #1
0
    public void Setup()
    {
        interfaceCopier = BDeepCopy.GetCopier <IBClass>();

        settings = new BCopierSettings();

        SimpleInterfaceCopy();
        SimpleInterfaceCopyWithRecursion();
    }
Пример #2
0
    public void Setup()
    {
        instanceKeepRefCopier      = BDeepCopy.GetCopier <BClassWithKeepReference>();
        instanceIgnoreMemberCopier = BDeepCopy.GetCopier <BClassWithIgnoreMember>();

        settings = new BCopierSettings();

        KeepSameReference();
        IgnoreMember();
    }
Пример #3
0
    public void Setup()
    {
        instanceCopier          = BDeepCopy.GetCopier <BClass>();
        instanceRecursionCopier = BDeepCopy.GetCopier <BClassWithRecursion>();

        settings = new BCopierSettings();

        SimpleObjectCopy();
        CopyWithRecursion();
    }
Пример #4
0
    public void Setup()
    {
        instanceCopier = BDeepCopy.GetCopier <BClass>();
        listCopier     = BDeepCopy.GetCopier <List <BClass> >();
        dictCopier     = BDeepCopy.GetCopier <Dictionary <int, BClass> >();

        settings = new BCopierSettings();

        ListCopy();
        DictionaryCopy();
    }
Пример #5
0
    public void Setup()
    {
        instancePrivateCopier = BDeepCopy.GetCopier <BClassPrivate>();

        CopyWithPrivateMembers();
    }