/// <summary>
 /// Initializes a new instance of the <see cref="GlobalParameters"/> class.
 /// </summary>
 internal GlobalParameters()
 {
     parameterDataBytes         = null;
     parameterDataStorageMethod = DataStorageMethod.HandleSuite;
     parameterDataExecutable    = false;
     pluginDataBytes            = null;
     pluginDataStorageMethod    = DataStorageMethod.HandleSuite;
 }
        private GlobalParameters(SerializationInfo info, StreamingContext context)
        {
            if (info == null)
            {
                throw new ArgumentNullException(nameof(info));
            }

            parameterDataBytes         = (byte[])info.GetValue("parameterDataBytes", typeof(byte[]));
            parameterDataStorageMethod = (DataStorageMethod)info.GetValue("parameterDataStorageMethod", typeof(DataStorageMethod));
            parameterDataExecutable    = info.GetBoolean("parameterDataExecutable");

            pluginDataBytes         = (byte[])info.GetValue("pluginDataBytes", typeof(byte[]));
            pluginDataStorageMethod = (DataStorageMethod)info.GetValue("pluginDataStorageMethod", typeof(DataStorageMethod));
            pluginDataExecutable    = info.GetBoolean("pluginDataExecutable");
        }