public static void Config(XmlElement xmlElement, ref SequenceConfig seqConfig, bool compulsory) { uint uintValue = new uint(); bool boolValue = new bool(); long longValue = new long(); if (Configuration.ConfigUint(xmlElement, "CacheSize", ref uintValue, compulsory)) { seqConfig.CacheSize = uintValue; } Configuration.ConfigCreatePolicy(xmlElement, "Creation", ref seqConfig.Creation, compulsory); if (Configuration.ConfigBool(xmlElement, "Decrement", ref boolValue, compulsory)) { seqConfig.Decrement = boolValue; } Configuration.ConfigBool(xmlElement, "FreeThreaded", ref seqConfig.FreeThreaded, compulsory); if (Configuration.ConfigBool(xmlElement, "Increment", ref boolValue, compulsory)) { seqConfig.Increment = boolValue; } if (Configuration.ConfigLong(xmlElement, "InitialValue", ref longValue, compulsory)) { seqConfig.InitialValue = longValue; } Configuration.ConfigBool(xmlElement, "Wrap", ref seqConfig.Wrap, compulsory); }