Esempio n. 1
0
    public void Setup()
    {
        interfaceCopier = BDeepCopy.GetCopier <IBClass>();

        settings = new BCopierSettings();

        SimpleInterfaceCopy();
        SimpleInterfaceCopyWithRecursion();
    }
Esempio n. 2
0
    public void Setup()
    {
        instanceKeepRefCopier      = BDeepCopy.GetCopier <BClassWithKeepReference>();
        instanceIgnoreMemberCopier = BDeepCopy.GetCopier <BClassWithIgnoreMember>();

        settings = new BCopierSettings();

        KeepSameReference();
        IgnoreMember();
    }
Esempio n. 3
0
    public void Setup()
    {
        instanceCopier          = BDeepCopy.GetCopier <BClass>();
        instanceRecursionCopier = BDeepCopy.GetCopier <BClassWithRecursion>();

        settings = new BCopierSettings();

        SimpleObjectCopy();
        CopyWithRecursion();
    }
Esempio n. 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();
    }
Esempio n. 5
0
    public void Setup()
    {
        instancePrivateCopier = BDeepCopy.GetCopier <BClassPrivate>();

        CopyWithPrivateMembers();
    }