Exemple #1
0
        public string SerialiseOut()
        {
            var serialised = new SerialisedExperiment();

            serialised.Settings       = this;
            serialised.LevelName      = LevelName;
            serialised.ExperimentName = ExperimentName;
            return(JsonConvert.SerializeObject(serialised, SerialisationConstants.SerialisationSettings()));
        }
Exemple #2
0
        public string SerialiseSettings()
        {
            string strJson = JsonConvert.SerializeObject(this, SerialisationConstants.SerialisationSettings());

            return(strJson);
        }