Example #1
0
        private static void DeserializeCore(BuildXLReader reader, FileAccessWhitelist whitelist)
        {
            var valuePathEntryCount = reader.ReadInt32Compact();

            for (int i = 0; i < valuePathEntryCount; i++)
            {
                whitelist.Add(ValuePathFileAccessWhitelistEntry.Deserialize(reader));
            }

            var executablePathEntryCount = reader.ReadInt32Compact();

            for (int i = 0; i < executablePathEntryCount; i++)
            {
                whitelist.Add(ExecutablePathWhitelistEntry.Deserialize(reader));
            }
        }