public KernelConfigModel Clone()
    {
        // NOTE: We need to use deep clone
        KernelConfigModel clone = new KernelConfigModel();

        clone.comms    = comms.Clone();
        clone.profiles = profiles.Clone();
        clone.features = features.Clone();
        return(clone);
    }
Beispiel #2
0
    public KernelConfigModel Clone()
    {
        // NOTE: We need to use deep clone
        KernelConfigModel clone = new KernelConfigModel();

        clone.comms            = comms.Clone();
        clone.profiles         = profiles.Clone();
        clone.features         = features.Clone();
        clone.gifSupported     = gifSupported;
        clone.tld              = tld;
        clone.validWorldRanges = new List <WorldRange>(validWorldRanges);
        return(clone);
    }