public static void Config(XmlElement xmlElement, ref LockingConfig lockingConfig, bool compulsory) { byte[,] matrix = new byte[6, 6]; uint value = new uint(); if (Configuration.ConfigByteMatrix(xmlElement, "Conflicts", ref matrix, compulsory) == true) { lockingConfig.Conflicts = matrix; } Configuration.ConfigDeadlockPolicy(xmlElement, "DeadlockResolution", ref lockingConfig.DeadlockResolution, compulsory); if (Configuration.ConfigUint(xmlElement, "MaxLockers", ref value, compulsory)) { lockingConfig.MaxLockers = value; } if (Configuration.ConfigUint(xmlElement, "MaxLocks", ref value, compulsory)) { lockingConfig.MaxLocks = value; } if (Configuration.ConfigUint(xmlElement, "MaxObjects", ref value, compulsory)) { lockingConfig.MaxObjects = value; } if (Configuration.ConfigUint(xmlElement, "Partitions", ref value, compulsory)) { lockingConfig.Partitions = value; } }