From 8c2de9665c91a2d5e2135cafb0467efa3c650faa Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Fri, 2 Sep 2016 04:02:35 +0100 Subject: [PATCH] Added support for UDIF images, closes #46. --- .gitmodules | 3 + ChangeLog | 6 + Claunia.RsrcFork | 1 + DiscImageChef.DiscImages/ChangeLog | 44 + .../DiscImageChef.DiscImages.csproj | 48 + DiscImageChef.DiscImages/UDIF.cs | 743 +++++++ DiscImageChef.DiscImages/docs/ChangeLog.txt | 362 ++++ DiscImageChef.DiscImages/docs/LICENSE.txt | 22 + DiscImageChef.DiscImages/docs/README.txt | 33 + .../ASCIIPropertyListParser.html | 1612 +++++++++++++++ .../BinaryPropertyListParser.html | 753 +++++++ .../BinaryPropertyListWriter.html | 567 ++++++ .../html/Claunia.PropertyList/NSArray.html | 960 +++++++++ .../html/Claunia.PropertyList/NSData.html | 743 +++++++ .../html/Claunia.PropertyList/NSDate.html | 604 ++++++ .../Claunia.PropertyList/NSDictionary.html | 1790 +++++++++++++++++ .../html/Claunia.PropertyList/NSNumber.html | 1139 +++++++++++ .../html/Claunia.PropertyList/NSObject.html | 830 ++++++++ .../docs/html/Claunia.PropertyList/NSSet.html | 932 +++++++++ .../html/Claunia.PropertyList/NSString.html | 783 +++++++ .../PropertyListFormatException.html | 289 +++ .../PropertyListParser.html | 1002 +++++++++ .../docs/html/Claunia.PropertyList/UID.html | 445 ++++ .../XmlPropertyListParser.html | 362 ++++ .../docs/html/Claunia.PropertyList/index.html | 394 ++++ DiscImageChef.DiscImages/docs/html/index.html | 398 ++++ .../ASCIIPropertyListParser.xml | 750 +++++++ .../BinaryPropertyListParser.xml | 296 +++ .../BinaryPropertyListWriter.xml | 180 ++ .../mono/Claunia.PropertyList/NSArray.xml | 429 ++++ .../docs/mono/Claunia.PropertyList/NSData.xml | 260 +++ .../docs/mono/Claunia.PropertyList/NSDate.xml | 189 ++ .../Claunia.PropertyList/NSDictionary.xml | 916 +++++++++ .../mono/Claunia.PropertyList/NSNumber.xml | 507 +++++ .../mono/Claunia.PropertyList/NSObject.xml | 339 ++++ .../docs/mono/Claunia.PropertyList/NSSet.xml | 411 ++++ .../mono/Claunia.PropertyList/NSString.xml | 310 +++ .../PropertyListFormatException.xml | 41 + .../PropertyListParser.xml | 411 ++++ .../docs/mono/Claunia.PropertyList/UID.xml | 105 + .../XmlPropertyListParser.xml | 90 + DiscImageChef.DiscImages/docs/mono/index.xml | 54 + .../docs/mono/ns-Claunia.PropertyList.xml | 6 + DiscImageChef.DiscImages/packages.config | 4 + DiscImageChef.sln | 6 + README.md | 1 + TODO | 6 +- 47 files changed, 20174 insertions(+), 2 deletions(-) create mode 160000 Claunia.RsrcFork create mode 100644 DiscImageChef.DiscImages/UDIF.cs create mode 100644 DiscImageChef.DiscImages/docs/ChangeLog.txt create mode 100644 DiscImageChef.DiscImages/docs/LICENSE.txt create mode 100644 DiscImageChef.DiscImages/docs/README.txt create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/ASCIIPropertyListParser.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/BinaryPropertyListParser.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/BinaryPropertyListWriter.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSArray.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSData.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSDate.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSDictionary.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSNumber.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSObject.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSSet.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSString.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/PropertyListFormatException.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/PropertyListParser.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/UID.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/XmlPropertyListParser.html create mode 100644 DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/index.html create mode 100644 DiscImageChef.DiscImages/docs/html/index.html create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/ASCIIPropertyListParser.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/BinaryPropertyListParser.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/BinaryPropertyListWriter.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSArray.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSData.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSDate.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSDictionary.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSNumber.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSObject.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSSet.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSString.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/PropertyListFormatException.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/PropertyListParser.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/UID.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/XmlPropertyListParser.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/index.xml create mode 100644 DiscImageChef.DiscImages/docs/mono/ns-Claunia.PropertyList.xml create mode 100644 DiscImageChef.DiscImages/packages.config diff --git a/.gitmodules b/.gitmodules index 7ef98730..95912de8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "commandline"] path = commandline url = https://github.com/claunia/commandline +[submodule "Claunia.RsrcFork"] + path = Claunia.RsrcFork + url = https://github.com/claunia/Claunia.RsrcFork diff --git a/ChangeLog b/ChangeLog index c07272e7..c0c5402c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-09-02 Natalia Portillo + + * Claunia.RsrcFork: + * DiscImageChef.sln: Added support for UDIF images, closes + #46. + 2016-08-09 Natalia Portillo * Packages.mdproj: diff --git a/Claunia.RsrcFork b/Claunia.RsrcFork new file mode 160000 index 00000000..cd99f65e --- /dev/null +++ b/Claunia.RsrcFork @@ -0,0 +1 @@ +Subproject commit cd99f65ebf8eb4e49667aeafb4a4edd2ff4b6ee5 diff --git a/DiscImageChef.DiscImages/ChangeLog b/DiscImageChef.DiscImages/ChangeLog index ce4ebfdb..336a0b07 100644 --- a/DiscImageChef.DiscImages/ChangeLog +++ b/DiscImageChef.DiscImages/ChangeLog @@ -1,3 +1,47 @@ +2016-09-02 Natalia Portillo + + * UDIF.cs: + * packages.config: + * README.txt: + * LICENSE.txt: + * ChangeLog.txt: + * index.xml: + * index.html: + * DiscImageChef.DiscImages.csproj: + * ns-Claunia.PropertyList.xml: + * UID.xml: + * UID.html: + * NSSet.xml: + * index.html: + * NSData.xml: + * NSSet.html: + * NSDate.xml: + * NSArray.xml: + * NSData.html: + * NSDate.html: + * NSObject.xml: + * NSNumber.xml: + * NSString.xml: + * NSArray.html: + * NSObject.html: + * NSNumber.html: + * NSString.html: + * NSDictionary.xml: + * NSDictionary.html: + * PropertyListParser.xml: + * PropertyListParser.html: + * XmlPropertyListParser.xml: + * XmlPropertyListParser.html: + * ASCIIPropertyListParser.xml: + * BinaryPropertyListParser.xml: + * BinaryPropertyListWriter.xml: + * ASCIIPropertyListParser.html: + * BinaryPropertyListWriter.html: + * BinaryPropertyListParser.html: + * PropertyListFormatException.xml: + * PropertyListFormatException.html: Added support for UDIF + images, closes #46. + 2016-08-30 Natalia Portillo * VMware.cs: diff --git a/DiscImageChef.DiscImages/DiscImageChef.DiscImages.csproj b/DiscImageChef.DiscImages/DiscImageChef.DiscImages.csproj index 5798b55a..0b407cf8 100644 --- a/DiscImageChef.DiscImages/DiscImageChef.DiscImages.csproj +++ b/DiscImageChef.DiscImages/DiscImageChef.DiscImages.csproj @@ -31,6 +31,9 @@ + + ..\packages\plist-cil.1.14\lib\plist-cil.dll + @@ -59,6 +62,7 @@ + @@ -82,12 +86,56 @@ {0BEB3088-B634-4289-AE17-CDF2D25D00D5} DiscImageChef.Decoders + + {CA231ED3-0C78-496C-AAFE-D085F6E9BEC6} + Claunia.RsrcFork + LICENSE.LGPL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DiscImageChef.DiscImages/UDIF.cs b/DiscImageChef.DiscImages/UDIF.cs new file mode 100644 index 00000000..ae4d7458 --- /dev/null +++ b/DiscImageChef.DiscImages/UDIF.cs @@ -0,0 +1,743 @@ +// /*************************************************************************** +// The Disc Image Chef +// ---------------------------------------------------------------------------- +// +// Filename : UDIF.cs +// Author(s) : Natalia Portillo +// +// Component : Disc image plugins. +// +// --[ Description ] ---------------------------------------------------------- +// +// Manages Apple Universal Disk Image Format. +// +// --[ License ] -------------------------------------------------------------- +// +// This library is free software; you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as +// published by the Free Software Foundation; either version 2.1 of the +// License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, see . +// +// ---------------------------------------------------------------------------- +// Copyright © 2011-2016 Natalia Portillo +// ****************************************************************************/ + +using System; +using System.Collections.Generic; +using System.IO; +using System.Runtime.InteropServices; +using Claunia.PropertyList; +using Claunia.RsrcFork; +using DiscImageChef.CommonTypes; +using DiscImageChef.Console; +using DiscImageChef.ImagePlugins; + +namespace DiscImageChef.DiscImages +{ + public class UDIF : ImagePlugin + { + #region Internal constants + const uint UDIF_Signature = 0x6B6F6C79; + const uint Chunk_Signature = 0x6D697368; + + // All chunk types with this mask are compressed + const uint ChunkType_CompressedMask = 0x80000000; + + const uint ChunkType_Zero = 0x00000000; + const uint ChunkType_Copy = 0x00000001; + const uint ChunkType_NoCopy = 0x00000002; + const uint ChunkType_ADC = 0x80000004; + const uint ChunkType_Zlib = 0x80000005; + const uint ChunkType_Bzip = 0x80000006; + const uint ChunkType_LZFSE = 0x80000007; + const uint ChunkType_Commnt = 0x7FFFFFFF; + const uint ChunkType_End = 0xFFFFFFFF; + + const string ResourceForkKey = "resource-fork"; + const string BlockKey = "blkx"; + const uint BlockOSType = 0x626C6B78; + #endregion + + #region Internal Structures + [StructLayout(LayoutKind.Sequential, Pack = 1)] + struct UDIF_Footer + { + public uint signature; + public uint version; + public uint headerSize; + public uint flags; + public ulong runningDataForkOff; + public ulong dataForkOff; + public ulong dataForkLen; + public ulong rsrcForkOff; + public ulong rsrcForkLen; + public uint segmentNumber; + public uint segmentCount; + public Guid segmentId; + public uint dataForkChkType; + public uint dataForkChkLen; + public uint dataForkChk; + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 124)] + public byte[] reserved1; + public ulong plistOff; + public ulong plistLen; + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 120)] + public byte[] reserved2; + public uint masterChkType; + public uint masterChkLen; + public uint masterChk; + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 124)] + public byte[] reserved3; + public uint imageVariant; + public ulong sectorCount; + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 12)] + public byte[] reserved4; + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + struct BlockHeader + { + public uint signature; + public uint version; + public ulong sectorStart; + public ulong sectorCount; + public ulong dataOffset; + public uint buffers; + public uint descriptor; + public uint reserved1; + public uint reserved2; + public uint reserved3; + public uint reserved4; + public uint reserved5; + public uint reserved6; + public uint checksumType; + public uint checksumLen; + public uint checksum; + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 124)] + public byte[] reservedChk; + public uint chunks; + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + struct BlockChunk + { + public uint type; + public uint comment; + public ulong sector; + public ulong sectors; + public ulong offset; + public ulong length; + } + #endregion + + UDIF_Footer footer; + Dictionary chunks; + + Dictionary sectorCache; + const uint MaxCacheSize = 16777216; + const uint sectorSize = 512; + uint maxCachedSectors = MaxCacheSize / sectorSize; + + FileStream imageStream; + + public UDIF() + { + Name = "Apple Universal Disk Image Format"; + PluginUUID = new Guid("5BEB9002-CF3D-429C-8E06-9A96F49203FF"); + ImageInfo = new ImageInfo(); + ImageInfo.readableSectorTags = new List(); + ImageInfo.readableMediaTags = new List(); + ImageInfo.imageHasPartitions = false; + ImageInfo.imageHasSessions = false; + ImageInfo.imageVersion = null; + ImageInfo.imageApplication = null; + ImageInfo.imageApplicationVersion = null; + ImageInfo.imageCreator = null; + ImageInfo.imageComments = null; + ImageInfo.mediaManufacturer = null; + ImageInfo.mediaModel = null; + ImageInfo.mediaSerialNumber = null; + ImageInfo.mediaBarcode = null; + ImageInfo.mediaPartNumber = null; + ImageInfo.mediaSequence = 0; + ImageInfo.lastMediaSequence = 0; + ImageInfo.driveManufacturer = null; + ImageInfo.driveModel = null; + ImageInfo.driveSerialNumber = null; + ImageInfo.driveFirmwareRevision = null; + } + + public override bool IdentifyImage(string imagePath) + { + FileStream stream = new FileStream(imagePath, FileMode.Open, FileAccess.Read); + + if(stream.Length < 512) + return false; + + stream.Seek(-Marshal.SizeOf(footer), SeekOrigin.End); + byte[] footer_b = new byte[Marshal.SizeOf(footer)]; + + stream.Read(footer_b, 0, Marshal.SizeOf(footer)); + footer = BigEndianMarshal.ByteArrayToStructureBigEndian(footer_b); + + if(footer.signature == UDIF_Signature) + return true; + + // Old UDIF as created by DiskCopy 6.5 using "OBSOLETE" format. (DiskCopy 5 rumored format?) + stream.Seek(0, SeekOrigin.Begin); + byte[] header_b = new byte[Marshal.SizeOf(footer)]; + + stream.Read(header_b, 0, Marshal.SizeOf(footer)); + footer = BigEndianMarshal.ByteArrayToStructureBigEndian(header_b); + + return footer.signature == UDIF_Signature; + } + + public override bool OpenImage(string imagePath) + { + FileStream stream = new FileStream(imagePath, FileMode.Open, FileAccess.Read); + + if(stream.Length < 512) + return false; + + stream.Seek(-Marshal.SizeOf(footer), SeekOrigin.End); + byte[] footer_b = new byte[Marshal.SizeOf(footer)]; + + stream.Read(footer_b, 0, Marshal.SizeOf(footer)); + footer = BigEndianMarshal.ByteArrayToStructureBigEndian(footer_b); + + if(footer.signature != UDIF_Signature) + { + stream.Seek(0, SeekOrigin.Begin); + footer_b = new byte[Marshal.SizeOf(footer)]; + + stream.Read(footer_b, 0, Marshal.SizeOf(footer)); + footer = BigEndianMarshal.ByteArrayToStructureBigEndian(footer_b); + + if(footer.signature != UDIF_Signature) + throw new Exception("Unable to find UDIF signature."); + + DicConsole.VerboseWriteLine("Found obsolete UDIF format."); + } + + DicConsole.DebugWriteLine("UDIF plugin", "footer.signature = 0x{0:X8}", footer.signature); + DicConsole.DebugWriteLine("UDIF plugin", "footer.version = {0}", footer.version); + DicConsole.DebugWriteLine("UDIF plugin", "footer.headerSize = {0}", footer.headerSize); + DicConsole.DebugWriteLine("UDIF plugin", "footer.flags = {0}", footer.flags); + DicConsole.DebugWriteLine("UDIF plugin", "footer.runningDataForkOff = {0}", footer.runningDataForkOff); + DicConsole.DebugWriteLine("UDIF plugin", "footer.dataForkOff = {0}", footer.dataForkOff); + DicConsole.DebugWriteLine("UDIF plugin", "footer.dataForkLen = {0}", footer.dataForkLen); + DicConsole.DebugWriteLine("UDIF plugin", "footer.rsrcForkOff = {0}", footer.rsrcForkOff); + DicConsole.DebugWriteLine("UDIF plugin", "footer.rsrcForkLen = {0}", footer.rsrcForkLen); + DicConsole.DebugWriteLine("UDIF plugin", "footer.segmentNumber = {0}", footer.segmentNumber); + DicConsole.DebugWriteLine("UDIF plugin", "footer.segmentCount = {0}", footer.segmentCount); + DicConsole.DebugWriteLine("UDIF plugin", "footer.segmentId = {0}", footer.segmentId); + DicConsole.DebugWriteLine("UDIF plugin", "footer.dataForkChkType = {0}", footer.dataForkChkType); + DicConsole.DebugWriteLine("UDIF plugin", "footer.dataForkLen = {0}", footer.dataForkLen); + DicConsole.DebugWriteLine("UDIF plugin", "footer.dataForkChk = 0x{0:X8}", footer.dataForkChk); + DicConsole.DebugWriteLine("UDIF plugin", "footer.xmlOff = {0}", footer.plistOff); + DicConsole.DebugWriteLine("UDIF plugin", "footer.xmlLen = {0}", footer.plistLen); + DicConsole.DebugWriteLine("UDIF plugin", "footer.masterChkType = {0}", footer.masterChkType); + DicConsole.DebugWriteLine("UDIF plugin", "footer.masterChkLen = {0}", footer.masterChkLen); + DicConsole.DebugWriteLine("UDIF plugin", "footer.masterChk = 0x{0:X8}", footer.masterChk); + DicConsole.DebugWriteLine("UDIF plugin", "footer.imageVariant = {0}", footer.imageVariant); + DicConsole.DebugWriteLine("UDIF plugin", "footer.sectorCount = {0}", footer.sectorCount); + DicConsole.DebugWriteLine("UDIF plugin", "footer.reserved1 is empty? = {0}", ArrayHelpers.ArrayIsNullOrEmpty(footer.reserved1)); + DicConsole.DebugWriteLine("UDIF plugin", "footer.reserved2 is empty? = {0}", ArrayHelpers.ArrayIsNullOrEmpty(footer.reserved2)); + DicConsole.DebugWriteLine("UDIF plugin", "footer.reserved3 is empty? = {0}", ArrayHelpers.ArrayIsNullOrEmpty(footer.reserved3)); + DicConsole.DebugWriteLine("UDIF plugin", "footer.reserved4 is empty? = {0}", ArrayHelpers.ArrayIsNullOrEmpty(footer.reserved4)); + + // Block chunks and headers + List blkxList = new List(); + chunks = new Dictionary(); + + bool fakeBlockChunks = false; + + if(footer.plistLen == 0 && footer.rsrcForkLen != 0) + { + DicConsole.DebugWriteLine("UDIF plugin", "Reading resource fork."); + byte[] rsrc_b = new byte[footer.rsrcForkLen]; + stream.Seek((long)footer.rsrcForkOff, SeekOrigin.Begin); + stream.Read(rsrc_b, 0, rsrc_b.Length); + + ResourceFork rsrc = new ResourceFork(rsrc_b); + + if(!rsrc.ContainsKey(BlockOSType)) + throw new ImageNotSupportedException("Image resource fork doesn't contain UDIF block chunks. Please fill an issue and send it to us."); + + Resource blkxRez = rsrc.GetResource(BlockOSType); + + if(blkxRez == null) + throw new ImageNotSupportedException("Image resource fork doesn't contain UDIF block chunks. Please fill an issue and send it to us."); + + if(blkxRez.GetIds().Length == 0) + throw new ImageNotSupportedException("Image resource fork doesn't contain UDIF block chunks. Please fill an issue and send it to us."); + + foreach(short blkxId in blkxRez.GetIds()) + blkxList.Add(blkxRez.GetResource(blkxId)); + } + else if(footer.plistLen != 0) + { + DicConsole.DebugWriteLine("UDIF plugin", "Reading property list."); + byte[] plist_b = new byte[footer.plistLen]; + stream.Seek((long)footer.plistOff, SeekOrigin.Begin); + stream.Read(plist_b, 0, plist_b.Length); + + DicConsole.DebugWriteLine("UDIF plugin", "Parsing property list."); + NSDictionary plist = (NSDictionary)XmlPropertyListParser.Parse(plist_b); + if(plist == null) + throw new Exception("Could not parse property list."); + + NSObject rsrcObj; + + if(!plist.TryGetValue(ResourceForkKey, out rsrcObj)) + throw new Exception("Could not retrieve resource fork."); + + NSDictionary rsrc = (NSDictionary)rsrcObj; + + NSObject blkxObj; + + if(!rsrc.TryGetValue(BlockKey, out blkxObj)) + throw new Exception("Could not retrieve partition array."); + + NSObject[] blkx = ((NSArray)blkxObj).GetArray(); + + foreach(NSObject partObj in blkx) + { + NSDictionary part = (NSDictionary)partObj; + NSObject nameObj, dataObj; + + if(!part.TryGetValue("Name", out nameObj)) + throw new Exception("Could not retrieve Name"); + + if(!part.TryGetValue("Data", out dataObj)) + throw new Exception("Could not retrieve Data"); + + blkxList.Add(((NSData)dataObj).Bytes); + } + } + else + { + // Obsolete read-only UDIF only prepended the header and then put the image without any kind of block references. + // So let's falsify a block chunk + BlockChunk bChnk = new BlockChunk(); + bChnk.length = footer.dataForkLen; + bChnk.offset = footer.dataForkOff; + bChnk.sector = 0; + bChnk.sectors = footer.sectorCount; + bChnk.type = ChunkType_Copy; + ImageInfo.sectors = footer.sectorCount; + chunks.Add(bChnk.sector, bChnk); + fakeBlockChunks = true; + } + + if(!fakeBlockChunks) + { + if(blkxList.Count == 0) + throw new ImageNotSupportedException("Could not retrieve block chunks. Please fill an issue and send it to us."); + + foreach(byte[] blkxBytes in blkxList) + { + BlockHeader bHdr = new BlockHeader(); + byte[] bHdr_b = new byte[Marshal.SizeOf(bHdr)]; + Array.Copy(blkxBytes, 0, bHdr_b, 0, Marshal.SizeOf(bHdr)); + bHdr = BigEndianMarshal.ByteArrayToStructureBigEndian(bHdr_b); + + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.signature = 0x{0:X8}", bHdr.signature); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.version = {0}", bHdr.version); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.sectorStart = {0}", bHdr.sectorStart); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.sectorCount = {0}", bHdr.sectorCount); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.dataOffset = {0}", bHdr.dataOffset); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.buffers = {0}", bHdr.buffers); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.descriptor = 0x{0:X8}", bHdr.descriptor); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.reserved1 = {0}", bHdr.reserved1); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.reserved2 = {0}", bHdr.reserved2); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.reserved3 = {0}", bHdr.reserved3); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.reserved4 = {0}", bHdr.reserved4); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.reserved5 = {0}", bHdr.reserved5); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.reserved6 = {0}", bHdr.reserved6); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.checksumType = {0}", bHdr.checksumType); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.checksumLen = {0}", bHdr.checksumLen); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.checksum = 0x{0:X8}", bHdr.checksum); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.chunks = {0}", bHdr.chunks); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.reservedChk is empty? = {0}", ArrayHelpers.ArrayIsNullOrEmpty(bHdr.reservedChk)); + + for(int i = 0; i < bHdr.chunks; i++) + { + BlockChunk bChnk = new BlockChunk(); + byte[] bChnk_b = new byte[Marshal.SizeOf(bChnk)]; + Array.Copy(blkxBytes, Marshal.SizeOf(bHdr) + Marshal.SizeOf(bChnk) * i, bChnk_b, 0, Marshal.SizeOf(bChnk)); + bChnk = BigEndianMarshal.ByteArrayToStructureBigEndian(bChnk_b); + + + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.chunk[{0}].type = 0x{1:X8}", i, bChnk.type); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.chunk[{0}].comment = {1}", i, bChnk.comment); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.chunk[{0}].sector = {1}", i, bChnk.sector); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.chunk[{0}].sectors = {1}", i, bChnk.sectors); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.chunk[{0}].offset = {1}", i, bChnk.offset); + DicConsole.DebugWriteLine("UDIF plugin", "bHdr.chunk[{0}].length = {1}", i, bChnk.length); + + if(bChnk.type == ChunkType_End) + { + ImageInfo.sectors = bChnk.sector; + break; + } + + // TODO: Handle comments + if(bChnk.type == ChunkType_Commnt) + continue; + + // TODO: Handle compressed chunks + if((bChnk.type & ChunkType_CompressedMask) == ChunkType_CompressedMask) + throw new ImageNotSupportedException("Compressed chunks are not yet supported."); + + if(bChnk.type != ChunkType_Zero && bChnk.type != ChunkType_Copy && bChnk.type != ChunkType_NoCopy) + throw new ImageNotSupportedException(string.Format("Unsupported chunk type 0x{0:X8} found", bChnk.type)); + + if(bChnk.sectors > 0) + chunks.Add(bChnk.sector, bChnk); + } + } + } + + sectorCache = new Dictionary(); + imageStream = stream; + + FileInfo fi = new FileInfo(imagePath); + ImageInfo.imageCreationTime = fi.CreationTimeUtc; + ImageInfo.imageLastModificationTime = fi.LastWriteTimeUtc; + ImageInfo.imageName = Path.GetFileNameWithoutExtension(imagePath); + ImageInfo.sectorSize = sectorSize; + ImageInfo.xmlMediaType = XmlMediaType.BlockMedia; + ImageInfo.mediaType = MediaType.GENERIC_HDD; + ImageInfo.imageSize = ImageInfo.sectors * sectorSize; + ImageInfo.imageVersion = string.Format("{0}", footer.version); + ImageInfo.imageApplication = "Apple DiskCopy"; + + return true; + } + + public override byte[] ReadSector(ulong sectorAddress) + { + if(sectorAddress > ImageInfo.sectors - 1) + throw new ArgumentOutOfRangeException(nameof(sectorAddress), string.Format("Sector address {0} not found", sectorAddress)); + + byte[] sector; + + if(sectorCache.TryGetValue(sectorAddress, out sector)) + return sector; + + BlockChunk currentChunk = new BlockChunk(); + bool chunkFound = false; + ulong chunkStartSector = 0; + + foreach(KeyValuePair kvp in chunks) + { + if(sectorAddress >= kvp.Key) + { + currentChunk = kvp.Value; + chunkFound = true; + chunkStartSector = kvp.Key; + } + } + + long relOff = ((long)sectorAddress - (long)chunkStartSector) * sectorSize; + + if(relOff < 0) + throw new ArgumentOutOfRangeException(nameof(relOff), string.Format("Got a negative offset for sector {0}. This should not happen.", sectorAddress)); + + if(!chunkFound) + throw new ArgumentOutOfRangeException(nameof(sectorAddress), string.Format("Sector address {0} not found", sectorAddress)); + + if(currentChunk.type == ChunkType_Zero) + throw new ImageNotSupportedException("Dunno how to handle ZERO chunk type, please fill issue and send image."); + + if(currentChunk.type == ChunkType_NoCopy) + { + sector = new byte[sectorSize]; + + if(sectorCache.Count >= maxCachedSectors) + sectorCache.Clear(); + + sectorCache.Add(sectorAddress, sector); + return sector; + } + + if(currentChunk.type == ChunkType_Copy) + { + imageStream.Seek((long)currentChunk.offset + relOff, SeekOrigin.Begin); + sector = new byte[sectorSize]; + imageStream.Read(sector, 0, sector.Length); + + if(sectorCache.Count >= maxCachedSectors) + sectorCache.Clear(); + + sectorCache.Add(sectorAddress, sector); + return sector; + } + + throw new ImageNotSupportedException(string.Format("Unsupported chunk type 0x{0:X8} found", currentChunk.type)); + } + + public override byte[] ReadSectors(ulong sectorAddress, uint length) + { + if(sectorAddress > ImageInfo.sectors - 1) + throw new ArgumentOutOfRangeException(nameof(sectorAddress), string.Format("Sector address {0} not found", sectorAddress)); + + if(sectorAddress + length > ImageInfo.sectors) + throw new ArgumentOutOfRangeException(nameof(length), "Requested more sectors than available"); + + MemoryStream ms = new MemoryStream(); + + for(uint i = 0; i < length; i++) + { + byte[] sector = ReadSector(sectorAddress + i); + ms.Write(sector, 0, sector.Length); + } + + return ms.ToArray(); + } + + public override bool ImageHasPartitions() + { + return false; + } + + public override ulong GetImageSize() + { + return ImageInfo.imageSize; + } + + public override ulong GetSectors() + { + return ImageInfo.sectors; + } + + public override uint GetSectorSize() + { + return ImageInfo.sectorSize; + } + + public override string GetImageFormat() + { + return "Apple Universal Disk Image Format"; + } + + public override string GetImageVersion() + { + return ImageInfo.imageVersion; + } + + public override string GetImageApplication() + { + return ImageInfo.imageApplication; + } + + public override string GetImageApplicationVersion() + { + return ImageInfo.imageApplicationVersion; + } + + public override string GetImageCreator() + { + return ImageInfo.imageCreator; + } + + public override DateTime GetImageCreationTime() + { + return ImageInfo.imageCreationTime; + } + + public override DateTime GetImageLastModificationTime() + { + return ImageInfo.imageLastModificationTime; + } + + public override string GetImageName() + { + return ImageInfo.imageName; + } + + public override string GetImageComments() + { + return ImageInfo.imageComments; + } + + public override MediaType GetMediaType() + { + return ImageInfo.mediaType; + } + + #region Unsupported features + + public override byte[] ReadSectorTag(ulong sectorAddress, SectorTagType tag) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadSectorsTag(ulong sectorAddress, uint length, SectorTagType tag) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadDiskTag(MediaTagType tag) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadSector(ulong sectorAddress, uint track) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadSectorTag(ulong sectorAddress, uint track, SectorTagType tag) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadSectors(ulong sectorAddress, uint length, uint track) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadSectorsTag(ulong sectorAddress, uint length, uint track, SectorTagType tag) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadSectorLong(ulong sectorAddress) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadSectorLong(ulong sectorAddress, uint track) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadSectorsLong(ulong sectorAddress, uint length) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override byte[] ReadSectorsLong(ulong sectorAddress, uint length, uint track) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override string GetMediaManufacturer() + { + return null; + } + + public override string GetMediaModel() + { + return null; + } + + public override string GetMediaSerialNumber() + { + return null; + } + + public override string GetMediaBarcode() + { + return null; + } + + public override string GetMediaPartNumber() + { + return null; + } + + public override int GetMediaSequence() + { + return 0; + } + + public override int GetLastDiskSequence() + { + return 0; + } + + public override string GetDriveManufacturer() + { + return null; + } + + public override string GetDriveModel() + { + return null; + } + + public override string GetDriveSerialNumber() + { + return null; + } + + public override List GetPartitions() + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override List GetTracks() + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override List GetSessionTracks(Session session) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override List GetSessionTracks(ushort session) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override List GetSessions() + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override bool? VerifySector(ulong sectorAddress) + { + return null; + } + + public override bool? VerifySector(ulong sectorAddress, uint track) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override bool? VerifySectors(ulong sectorAddress, uint length, out List FailingLBAs, out List UnknownLBAs) + { + FailingLBAs = new List(); + UnknownLBAs = new List(); + for(ulong i = 0; i < ImageInfo.sectors; i++) + UnknownLBAs.Add(i); + return null; + } + + public override bool? VerifySectors(ulong sectorAddress, uint length, uint track, out List FailingLBAs, out List UnknownLBAs) + { + throw new FeatureUnsupportedImageException("Feature not supported by image format"); + } + + public override bool? VerifyMediaImage() + { + return null; + } + + #endregion + } +} + diff --git a/DiscImageChef.DiscImages/docs/ChangeLog.txt b/DiscImageChef.DiscImages/docs/ChangeLog.txt new file mode 100644 index 00000000..17447fd4 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/ChangeLog.txt @@ -0,0 +1,362 @@ +2015-02-24 Natalia Portillo + + * PropertyListParser.cs: + * ASCIIPropertyListParser.cs: + Sync BOM skipping code with upstream. + + * BinaryPropertyListParser.cs: + Sync code with upstream. + Added UTF-8 string decoding on binary property lists. + + * plist-cil.csproj: + * Properties/AssemblyInfo.cs: + Bump to 1.14 (upstream r114). + +2015-02-20 Natalia Portillo + + * UID.cs: + * NSSet.cs: + * NSData.cs: + * NSArray.cs: + * NSString.cs: + * NSNumber.cs: + * NSObject.cs: + * NSDictionary.cs: + * PropertyListParser.cs: + * BinaryPropertyListWriter.cs: + * BinaryPropertyListParser.cs: + Prettify documentation. + +2015-02-20 Natalia Portillo + + * NSObject.cs: + * ASCIIPropertyListParser.cs: + Modify some JavaDoc to Xml. + +2015-02-20 Natalia Portillo + + * NSDictionary.cs: + Implement NSDictionary.CopyTo() + +2015-02-20 Natalia Portillo + + * UID.cs: + * NSSet.cs: + * NSDate.cs: + * NSData.cs: + * NSArray.cs: + * NSString.cs: + * NSObject.cs: + * NSNumber.cs: + * NSDictionary.cs: + * ASCIIPropertyListParser.cs: + * BinaryPropertyListParser.cs: + * BinaryPropertyListWriter.cs: + Added all missing documentation for public methods. + +2015-02-20 Natalia Portillo + + * NSDate.cs: + * NSObject.cs: + * NSNumber.cs: + * ASCIIPropertyListParser.cs: + * BinaryPropertyListParser.cs: + Remove unused variables and disable warnings that we know + are innocuous. + +2015-02-20 Natalia Portillo + + * plist-cil.csproj: + Added ZIPing release. + +2015-02-20 Natalia Portillo + + * plist-cil.csproj: + Added automatic HTML and MonoDoc documentation generation + for Release. + +2015-02-20 Natalia Portillo + + * plist-cil.csproj: + Add ChangeLog so it is copied on build. + +2015-02-20 Natalia Portillo + + * plist-cil.csproj: + Added README. + +2015-02-20 Natalia Portillo + + * plist-cil.csproj: + Added MIT License file. + +2015-02-20 Natalia Portillo + + * ASCIIPropertyListParser.cs: + Remove redundant items. + Correct same ASCII exceptionfallback issue that appeared in + NSString. + + * UID.cs: + * NSSet.cs: + * NSDate.cs: + * NSData.cs: + * NSArray.cs: + * NSObject.cs: + * NSNumber.cs: + * NSString.cs: + * NSDictionary.cs: + * PropertyListParser.cs: + * XmlPropertyListParser.cs: + * BinaryPropertyListWriter.cs: + * BinaryPropertyListParser.cs: + Remove redundant items. + +2015-02-20 Natalia Portillo + + * UID.cs: + * NSSet.cs: + * NSDate.cs: + * NSData.cs: + * NSArray.cs: + * NSString.cs: + * NSObject.cs: + * NSNumber.cs: + * NSDictionary.cs: + * PropertyListParser.cs: + * XmlPropertyListParser.cs: + * ASCIIPropertyListParser.cs: + * BinaryPropertyListWriter.cs: + * BinaryPropertyListParser.cs: + * PropertyListFormatException.cs: + Reformat code. + +2015-02-19 Natalia Portillo + + * UID.cs: + * NSSet.cs: + * NSDate.cs: + * NSData.cs: + * NSArray.cs: + * NSString.cs: + * NSObject.cs: + * NSNumber.cs: + * NSDictionary.cs: + * PropertyListParser.cs: + * XmlPropertyListParser.cs: + * ASCIIPropertyListParser.cs: + * BinaryPropertyListWriter.cs: + * BinaryPropertyListParser.cs: + * PropertyListFormatException.cs: + me is @author also :p + +2015-02-19 Natalia Portillo + + * NSString.cs: + Mono encoding fallback for ASCII is not failing on all + non-ASCII characters (as in issue4.plist test file). + Implemented a simple checker. + +2015-02-19 Natalia Portillo + + * PropertyListParser.cs: + Solve upstream bug, does not recognize UTF-8 XML with + byte-order-mask as XML. + +2015-02-19 Natalia Portillo + + * NSNumber.cs: + More culture corrections. + +2015-02-19 Natalia Portillo + + * NSNumber.cs: + double.ToString() should be invariantculture also. + +2015-02-19 Natalia Portillo + + * UID.cs: + * NSSet.cs: + * NSDate.cs: + * NSData.cs: + * NSArray.cs: + * NSString.cs: + * NSNumber.cs: + * NSObject.cs: + * NSDictionary.cs: + Implement correct equality comparisors. + +2015-02-19 Natalia Portillo + + * XmlPropertyListParser.cs: + Typo. + +2015-02-19 Natalia Portillo + + * NSNumber.cs: + Parse decimal comma always as '.'. + +2015-02-19 Natalia Portillo + + * NSData.cs: + * NSArray.cs: + * NSObject.cs: + * NSDictionary.cs: + * ASCIIPropertyListParser.cs: + Convert unix date to .net dates. + Array.Equals() does not compare array internals but object + reference, implement substitute. + String.Substring() has a different API than Java, correct. + +2015-02-19 Natalia Portillo + + * plist-cil.csproj: + * PropertyListParser.cs: + * XmlPropertyListParser.cs: + Implement XmlPropertyListParser + +2015-02-19 Natalia Portillo + + * UID.cs: + * NSData.cs: + * NSDate.cs: + * NSArray.cs: + * NSNumber.cs: + * NSString.cs: + * NSObject.cs: + * NSDictionary.cs: + * plist-cil.csproj: + * PropertyListParser.cs: + * BinaryPropertyListWriter.cs: + Implement BinaryPropertyListWriter. + + * NSSet.cs: + * BinaryPropertyListParser.cs: + Implement BinaryPropertyListWriter. + Add way to make ordered NSSet. + +2015-02-19 Natalia Portillo + + * NSDate.cs: + * NSNumber.cs: + * plist-cil.csproj: + * PropertyListParser.cs: + * BinaryPropertyListParser.cs: + Implement BinaryPropertyListParser. + +2015-02-19 Natalia Portillo + + * UID.cs: + * NSSet.cs: + * NSDate.cs: + * NSData.cs: + * NSArray.cs: + * NSNumber.cs: + * NSObject.cs: + * NSString.cs: + * NSDictionary.cs: + * plist-cil.csproj: + * PropertyListParser.cs: + * ASCIIPropertyListParser.cs: + Implement ASCIIPropertyListParser + +2015-02-18 Natalia Portillo + + * plist-cil.csproj: + * PropertyListParser.cs: + Implement PropertyListParser + +2015-02-18 Natalia Portillo + + * NSSet.cs: + * NSArray.cs: + * NSObject.cs: + * NSDictionary.cs: + Implement NSObject to .NET Object and all methods on all + classes that depended on NSObject<->Object + +2015-02-18 Natalia Portillo + + * NSObject.cs: + Implement .NET to NSObject castings + +2015-02-18 Natalia Portillo + + * plist-cil.csproj: + * PropertyListFormatException.cs: + Implement PropertyListFormatException + +2015-02-18 Natalia Portillo + + * NSObject.cs: + * NSDictionary.cs: + * plist-cil.csproj: + Implement NSDictionary + +2015-02-18 Natalia Portillo + + * NSData.cs: + * NSObject.cs: + * plist-cil.csproj: + Implement NSData. + +2015-02-18 Natalia Portillo + + * NSArray.cs: + * NSObject.cs: + * plist-cil.csproj: + Implements NSArray + +2015-02-18 Natalia Portillo + + * NSDate.cs: + * plist-cil.csproj: + Implemented NSDate + +2015-02-17 Natalia Portillo + + * UID.cs: + * plist-cil.csproj: + Implement UID + +2015-02-17 Natalia Portillo + + * NSSet.cs: + * NSObject.cs: + * plist-cil.csproj: + Implemented NSSet. + +2015-02-17 Natalia Portillo + + * NSString.cs: + * plist-cil.csproj: + Implement NSString. + +2015-02-17 Natalia Portillo + + * NSNumber.cs: + * NSObject.cs: + * plist-cil.csproj: + Implement NSNumber. + +2015-02-17 Natalia Portillo + + * MyClass.cs: + * NSObject.cs: + * plist-cil.csproj: + Pre-implement NSObject. + +2015-02-16 Natalia Portillo + + * ChangeLog: + * plist-cil.csproj: + * Properties/AssemblyInfo.cs: + Initial commit + +2015-02-16 Natalia Portillo + + * MyClass.cs: + * plist-cil.csproj: + * Properties/AssemblyInfo.cs: + Initial commit + diff --git a/DiscImageChef.DiscImages/docs/LICENSE.txt b/DiscImageChef.DiscImages/docs/LICENSE.txt new file mode 100644 index 00000000..2548751d --- /dev/null +++ b/DiscImageChef.DiscImages/docs/LICENSE.txt @@ -0,0 +1,22 @@ +Copyright (c) 2015 Natalia Portillo + +Based on dd-plist, +Copyright (c) 2014 Daniel Dreibrodt + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/DiscImageChef.DiscImages/docs/README.txt b/DiscImageChef.DiscImages/docs/README.txt new file mode 100644 index 00000000..09f88f15 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/README.txt @@ -0,0 +1,33 @@ +#plist-cil +This library enables .NET (CLR) applications to work with property lists in various formats. +It is mostly based on [dd-plist for Java](https://code.google.com/p/plist/). + +You can parse existing property lists (e.g. those created by an iOS application) and work with the contents on any operating system. + +The library also enables you to create your own property lists from scratch and store them in various formats. + +The provided API mimics the Cocoa/NeXTSTEP API, and where applicable, the .NET API, granting access to the basic functions of classes like NSDictionary, NSData, etc. + +###Supported formats + +| Format | Read | Write | +| ---------------------- | ---- | ----- | +| OS X / iOS XML | yes | yes | +| OS X / iOS Binary (v0) | yes | yes | +| OS X / iOS ASCII | yes | yes | +| GNUstep ASCII | yes | yes | + +###Requirements +.NET Framework 4.0 or Mono. + +###Download + +The latest releases can be downloaded [here](https://github.com/claunia/plist-cil/releases): + +###NuGet support +Coming soon...... + +###Help +The API documentation is included in the download. + +When you encounter a bug please report it by on the [issue tracker](https://github.com/claunia/plist-cil/issues). diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/ASCIIPropertyListParser.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/ASCIIPropertyListParser.html new file mode 100644 index 00000000..59bd0d96 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/ASCIIPropertyListParser.html @@ -0,0 +1,1612 @@ + + + Claunia.PropertyList.ASCIIPropertyListParser + + + + + + + +

ASCIIPropertyListParser Class

+

+

+ Parser for ASCII property lists. Supports Apple OS X/iOS and GnuStep/NeXTSTEP format. + This parser is based on the recursive descent paradigm, but the underlying grammar + is not explicitely defined. +

+

+ Resources on ASCII property list format: +

+

+ https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html +

+

+ Property List Programming Guide - Old-Style ASCII Property Lists +

+

+ http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html +

+

+ GnuStep - NSPropertyListSerialization class documentation +

+

+
+

Syntax

+
public class ASCIIPropertyListParser
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + object. +

+

Protected Constructors

+
+
+ + + + + + +
+
+
+
+ + + Documentation for this section has not yet been entered. +
+
+
+

Public Fields

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
const
+
+ + ARRAY_BEGIN_TOKEN + + + + char + . + Token of NSArray start +
+
const
+
+ + ARRAY_END_TOKEN + + + + char + . + Token of NSArray end +
+
const
+
+ + ARRAY_ITEM_DELIMITER_TOKEN + + + + char + . + Token of NSArray item delimiter +
+
const
+
+ + COMMENT_BEGIN_TOKEN + + + + char + . + Token for comment start +
+
const
+
+ + DATA_BEGIN_TOKEN + + + + char + . + Token of NSData start +
+
const
+
+ + DATA_END_TOKEN + + + + char + . + Token of NSData end +
+
const
+
+ + DATA_GSBOOL_BEGIN_TOKEN + + + + char + . + Token of GSBoolean start +
+
const
+
+ + DATA_GSBOOL_FALSE_TOKEN + + + + char + . + Token for GSBoolen's false
+
const
+
+ + DATA_GSBOOL_TRUE_TOKEN + + + + char + . + Token for GSBoolen's true
+
const
+
+ + DATA_GSDATE_BEGIN_TOKEN + + + + char + . + Token of GSDate start +
+
const
+
+ + DATA_GSINT_BEGIN_TOKEN + + + + char + . + Token for GSInteger +
+
const
+
+ + DATA_GSOBJECT_BEGIN_TOKEN + + + + char + . + Token of GSObject start +
+
const
+
+ + DATA_GSREAL_BEGIN_TOKEN + + + + char + . + Token for GSReal +
+
const
+
+ + DATE_APPLE_DATE_TIME_DELIMITER + + + + char + . + Token for NSDate date and time delimiter +
+
const
+
+ + DATE_APPLE_END_TOKEN + + + + char + . + Token for NSDate end +
+
const
+
+ + DATE_DATE_FIELD_DELIMITER + + + + char + . + Token for NSDate date field delimited +
+
const
+
+ + DATE_GS_DATE_TIME_DELIMITER + + + + char + . + Token for GSDate date and time delimiter +
+
const
+
+ + DATE_TIME_FIELD_DELIMITER + + + + char + . + Token for NSDate time field delimiter +
+
const
+
+ + DICTIONARY_ASSIGN_TOKEN + + + + char + . + Token of NSDictionary assignment +
+
const
+
+ + DICTIONARY_BEGIN_TOKEN + + + + char + . + Token of NSDictionary start +
+
const
+
+ + DICTIONARY_END_TOKEN + + + + char + . + Token of NSDictionary end +
+
const
+
+ + DICTIONARY_ITEM_DELIMITER_TOKEN + + + + char + . + Token of NSDictionary item delimiter +
+
const
+
+ + MULTILINE_COMMENT_END_TOKEN + + + + char + . + End token for multiline comment +
+
const
+
+ + MULTILINE_COMMENT_SECOND_TOKEN + + + + char + . + Second token for multiline comment +
+
const
+
+ + QUOTEDSTRING_BEGIN_TOKEN + + + + char + . + Token of quoted NSString start +
+
const
+
+ + QUOTEDSTRING_END_TOKEN + + + + char + . + Token of quoted NSString end +
+
const
+
+ + QUOTEDSTRING_ESCAPE_TOKEN + + + + char + . + Token of quoted NSString escaped character +
+
const
+
+ + SINGLELINE_COMMENT_SECOND_TOKEN + + + + char + . + Second token for singleline comment +
+
const
+
+ + WHITESPACE_CARRIAGE_RETURN + + + + char + . + A carriage return +
+
const
+
+ + WHITESPACE_NEWLINE + + + + char + . + A newline +
+
const
+
+ + WHITESPACE_SPACE + + + + char + . + A space +
+
const
+
+ + WHITESPACE_TAB + + + + char + . + A tabulator +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + Parse + () : NSObject
+ Parses the property list from the beginning and returns the root object + of the property list. +
+
static
+
+ + Parse + (byte[]) : NSObject
+ Parses an ASCII property list from a byte array. +
+
static
+
+ + Parse + (System.IO.FileInfo) : NSObject
+ Parses an ASCII property list file. +
+
static
+
+ + Parse + (System.IO.Stream) : NSObject
+ Parses an ASCII property list from an input stream. +
+
static
+
+ + ParseQuotedString + (string) : string
+ Parses a string according to the format specified for ASCII property lists. + Such strings can contain escape sequences which are unescaped in this method. +
+
+
+
+
+
+

Member Details

+
+

ASCIIPropertyListParser Constructor

+
+
+ Documentation for this section has not yet been entered. +
+

Syntax

+
protected ASCIIPropertyListParser ()
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ARRAY_BEGIN_TOKEN Field

+
+
+ Token of NSArray start +
+

Syntax

+
public const char ARRAY_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ARRAY_END_TOKEN Field

+
+
+ Token of NSArray end +
+

Syntax

+
public const char ARRAY_END_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ARRAY_ITEM_DELIMITER_TOKEN Field

+
+
+ Token of NSArray item delimiter +
+

Syntax

+
public const char ARRAY_ITEM_DELIMITER_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

COMMENT_BEGIN_TOKEN Field

+
+
+ Token for comment start +
+

Syntax

+
public const char COMMENT_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATA_BEGIN_TOKEN Field

+
+
+ Token of NSData start +
+

Syntax

+
public const char DATA_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATA_END_TOKEN Field

+
+
+ Token of NSData end +
+

Syntax

+
public const char DATA_END_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATA_GSBOOL_BEGIN_TOKEN Field

+
+
+ Token of GSBoolean start +
+

Syntax

+
public const char DATA_GSBOOL_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATA_GSBOOL_FALSE_TOKEN Field

+
+
+ Token for GSBoolen's false
+

Syntax

+
public const char DATA_GSBOOL_FALSE_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATA_GSBOOL_TRUE_TOKEN Field

+
+
+ Token for GSBoolen's true
+

Syntax

+
public const char DATA_GSBOOL_TRUE_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATA_GSDATE_BEGIN_TOKEN Field

+
+
+ Token of GSDate start +
+

Syntax

+
public const char DATA_GSDATE_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATA_GSINT_BEGIN_TOKEN Field

+
+
+ Token for GSInteger +
+

Syntax

+
public const char DATA_GSINT_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATA_GSOBJECT_BEGIN_TOKEN Field

+
+
+ Token of GSObject start +
+

Syntax

+
public const char DATA_GSOBJECT_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATA_GSREAL_BEGIN_TOKEN Field

+
+
+ Token for GSReal +
+

Syntax

+
public const char DATA_GSREAL_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATE_APPLE_DATE_TIME_DELIMITER Field

+
+
+ Token for NSDate date and time delimiter +
+

Syntax

+
public const char DATE_APPLE_DATE_TIME_DELIMITER
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATE_APPLE_END_TOKEN Field

+
+
+ Token for NSDate end +
+

Syntax

+
public const char DATE_APPLE_END_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATE_DATE_FIELD_DELIMITER Field

+
+
+ Token for NSDate date field delimited +
+

Syntax

+
public const char DATE_DATE_FIELD_DELIMITER
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATE_GS_DATE_TIME_DELIMITER Field

+
+
+ Token for GSDate date and time delimiter +
+

Syntax

+
public const char DATE_GS_DATE_TIME_DELIMITER
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DATE_TIME_FIELD_DELIMITER Field

+
+
+ Token for NSDate time field delimiter +
+

Syntax

+
public const char DATE_TIME_FIELD_DELIMITER
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DICTIONARY_ASSIGN_TOKEN Field

+
+
+ Token of NSDictionary assignment +
+

Syntax

+
public const char DICTIONARY_ASSIGN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DICTIONARY_BEGIN_TOKEN Field

+
+
+ Token of NSDictionary start +
+

Syntax

+
public const char DICTIONARY_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DICTIONARY_END_TOKEN Field

+
+
+ Token of NSDictionary end +
+

Syntax

+
public const char DICTIONARY_END_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

DICTIONARY_ITEM_DELIMITER_TOKEN Field

+
+
+ Token of NSDictionary item delimiter +
+

Syntax

+
public const char DICTIONARY_ITEM_DELIMITER_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

MULTILINE_COMMENT_END_TOKEN Field

+
+
+ End token for multiline comment +
+

Syntax

+
public const char MULTILINE_COMMENT_END_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

MULTILINE_COMMENT_SECOND_TOKEN Field

+
+
+ Second token for multiline comment +
+

Syntax

+
public const char MULTILINE_COMMENT_SECOND_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses the property list from the beginning and returns the root object + of the property list. +
+

Syntax

+
public NSObject Parse ()
+

Returns

+
The root object of the property list. This can either be a NSDictionary or a NSArray.
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ FormatException + When an error occured during parsing
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses an ASCII property list from a byte array. +
+

Syntax

+
public static NSObject Parse (byte[] bytes)
+

Parameters

+
+
+
+ bytes +
+
The ASCII property list data.
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ FormatException + When an error occurs during parsing.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses an ASCII property list file. +
+

Syntax

+
public static NSObject Parse (System.IO.FileInfo f)
+

Parameters

+
+
+
+ f +
+
The ASCII property list file..
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Exceptions

+
+ + + + + + + + + + + + + +
TypeReason
+ FormatException + When an error occurs during parsing.
+ System.IO.IOException + When an error occured while reading from the input stream.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses an ASCII property list from an input stream. +
+

Syntax

+
public static NSObject Parse (System.IO.Stream fs)
+

Parameters

+
+
+
+ fs +
+
The input stream that points to the property list's data.
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Exceptions

+
+ + + + + + + + + + + + + +
TypeReason
+ FormatException + When an error occurs during parsing.
+ System.IO.IOException + +
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ParseQuotedString Method

+
+
+ Parses a string according to the format specified for ASCII property lists. + Such strings can contain escape sequences which are unescaped in this method. +
+

Syntax

+
public static string ParseQuotedString (string s)
+

Parameters

+
+
+
+ s +
+
The escaped string according to the ASCII property list format, without leading and trailing quotation marks.
+
+
+

Returns

+
The unescaped string in UTF-8 or ASCII format, depending on the contained characters.
+

Exceptions

+
+ + + + + + + + + + + + + +
TypeReason
+ ArgumentException + If the en-/decoder for the UTF-8 or ASCII encoding could not be loaded
+ System.Text.EncoderFallbackException + If the string is encoded neither in ASCII nor in UTF-8
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

QUOTEDSTRING_BEGIN_TOKEN Field

+
+
+ Token of quoted NSString start +
+

Syntax

+
public const char QUOTEDSTRING_BEGIN_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

QUOTEDSTRING_END_TOKEN Field

+
+
+ Token of quoted NSString end +
+

Syntax

+
public const char QUOTEDSTRING_END_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

QUOTEDSTRING_ESCAPE_TOKEN Field

+
+
+ Token of quoted NSString escaped character +
+

Syntax

+
public const char QUOTEDSTRING_ESCAPE_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SINGLELINE_COMMENT_SECOND_TOKEN Field

+
+
+ Second token for singleline comment +
+

Syntax

+
public const char SINGLELINE_COMMENT_SECOND_TOKEN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

WHITESPACE_CARRIAGE_RETURN Field

+
+
+ A carriage return +
+

Syntax

+
public const char WHITESPACE_CARRIAGE_RETURN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

WHITESPACE_NEWLINE Field

+
+
+ A newline +
+

Syntax

+
public const char WHITESPACE_NEWLINE
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

WHITESPACE_SPACE Field

+
+
+ A space +
+

Syntax

+
public const char WHITESPACE_SPACE
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

WHITESPACE_TAB Field

+
+
+ A tabulator +
+

Syntax

+
public const char WHITESPACE_TAB
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/BinaryPropertyListParser.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/BinaryPropertyListParser.html new file mode 100644 index 00000000..84f6ed54 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/BinaryPropertyListParser.html @@ -0,0 +1,753 @@ + + + Claunia.PropertyList.BinaryPropertyListParser + + + + + + + +

BinaryPropertyListParser Class

+

+

+ Parses property lists that are in Apple's binary format. + Use this class when you are sure about the format of the property list. + Otherwise use the PropertyListParser class. +

+

+ Parsing is done by calling the static BinaryPropertyListParser.Parse(Byte[]), + BinaryPropertyListParser.Parse(System.IO.FileInfo) and BinaryPropertyListParser.Parse(System.IO.Stream) methods. +

+

+
+

Syntax

+
public class BinaryPropertyListParser
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + object. +

+

Protected Constructors

+
+
+ + + + + + +
+
+
+
+ + + Protected constructor so that instantiation is fully controlled by the + static parse methods. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
static
+
+ + CopyOfRange + (byte[], int, int) : byte[]
+ Copies a part of a byte array into a new array. +
+
static
+
+ + Parse + (byte[]) : NSObject
+ Parses a binary property list from a byte array. +
+
static
+
+ + Parse + (System.IO.FileInfo) : NSObject
+ Parses a binary property list file. +
+
static
+
+ + Parse + (System.IO.Stream) : NSObject
+ Parses a binary property list from an input stream. +
+
static
+
+ + ParseDouble + (byte[]) : double
+ Parses a double from a (big-endian) byte array. +
+
static
+
+ + ParseDouble + (byte[], int, int) : double
+ Parses a double from a (big-endian) byte array. +
+
static
+
+ + ParseLong + (byte[]) : long
+ Parses a long from a (big-endian) byte array. +
+
static
+
+ + ParseLong + (byte[], int, int) : long
+ Parses a long from a (big-endian) byte array. +
+
static
+
+ + ParseUnsignedInt + (byte[]) : long
+ Parses an unsigned integers from a byte array. +
+
static
+
+ + ParseUnsignedInt + (byte[], int, int) : long
+ Parses an unsigned integer from a byte array. +
+
+
+
+
+
+

Member Details

+
+

BinaryPropertyListParser Constructor

+
+
+ Protected constructor so that instantiation is fully controlled by the + static parse methods. +
+

Syntax

+
protected BinaryPropertyListParser ()
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

CopyOfRange Method

+
+
+ Copies a part of a byte array into a new array. +
+

Syntax

+
public static byte[] CopyOfRange (byte[] src, int startIndex, int endIndex)
+

Parameters

+
+
+
+ src +
+
The source array.
+
+ startIndex +
+
The index from which to start copying.
+
+ endIndex +
+
The index until which to copy.
+
+
+

Returns

+
The copied array.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses a binary property list from a byte array. +
+

Syntax

+
public static NSObject Parse (byte[] data)
+

Parameters

+
+
+
+ data +
+
The binary property list's data.
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ Claunia.PropertyList.PropertyListFormatException + When the property list's format could not be parsed.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses a binary property list file. +
+

Syntax

+
public static NSObject Parse (System.IO.FileInfo f)
+

Parameters

+
+
+
+ f +
+
The binary property list file
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ Claunia.PropertyList.PropertyListFormatException + When the property list's format could not be parsed.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses a binary property list from an input stream. +
+

Syntax

+
public static NSObject Parse (System.IO.Stream fs)
+

Parameters

+
+
+
+ fs +
+
The input stream that points to the property list's data.
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ Claunia.PropertyList.PropertyListFormatException + When the property list's format could not be parsed.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ParseDouble Method

+
+
+ Parses a double from a (big-endian) byte array. +
+

Syntax

+
public static double ParseDouble (byte[] bytes)
+

Parameters

+
+
+
+ bytes +
+
The bytes representing the double.
+
+
+

Returns

+
The double represented by the given bytes.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ParseDouble Method

+
+
+ Parses a double from a (big-endian) byte array. +
+

Syntax

+
public static double ParseDouble (byte[] bytes, int startIndex, int endIndex)
+

Parameters

+
+
+
+ bytes +
+
The bytes representing the double.
+
+ startIndex +
+
Beginning of the double in the byte array.
+
+ endIndex +
+
End of the double in the byte array.
+
+
+

Returns

+
The double represented by the given bytes.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ParseLong Method

+
+
+ Parses a long from a (big-endian) byte array. +
+

Syntax

+
public static long ParseLong (byte[] bytes)
+

Parameters

+
+
+
+ bytes +
+
The bytes representing the long integer.
+
+
+

Returns

+
The long integer represented by the given bytes.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ParseLong Method

+
+
+ Parses a long from a (big-endian) byte array. +
+

Syntax

+
public static long ParseLong (byte[] bytes, int startIndex, int endIndex)
+

Parameters

+
+
+
+ bytes +
+
The bytes representing the long integer.
+
+ startIndex +
+
Beginning of the long in the byte array.
+
+ endIndex +
+
End of the long in the byte array.
+
+
+

Returns

+
The long integer represented by the given bytes.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ParseUnsignedInt Method

+
+
+ Parses an unsigned integers from a byte array. +
+

Syntax

+
public static long ParseUnsignedInt (byte[] bytes)
+

Parameters

+
+
+
+ bytes +
+
The unsigned integer represented by the given bytes.
+
+
+

Returns

+
The byte array containing the unsigned integer.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ParseUnsignedInt Method

+
+
+ Parses an unsigned integer from a byte array. +
+

Syntax

+
public static long ParseUnsignedInt (byte[] bytes, int startIndex, int endIndex)
+

Parameters

+
+
+
+ bytes +
+
The byte array containing the unsigned integer.
+
+ startIndex +
+
Beginning of the unsigned int in the byte array.
+
+ endIndex +
+
End of the unsigned int in the byte array.
+
+
+

Returns

+
The unsigned integer represented by the given bytes.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/BinaryPropertyListWriter.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/BinaryPropertyListWriter.html new file mode 100644 index 00000000..53e59cb8 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/BinaryPropertyListWriter.html @@ -0,0 +1,567 @@ + + + Claunia.PropertyList.BinaryPropertyListWriter + + + + + + + +

BinaryPropertyListWriter Class

+

+

+ A BinaryPropertyListWriter is a helper class for writing out + binary property list files. +

+

+ It contains an output stream and various structures for keeping track + of which NSObjects have already been serialized, and where they were + put in the file. +

+

+
+

Syntax

+
public class BinaryPropertyListWriter
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + object. +

+

Public Fields

+
+
+ + + + + + + + + + + + + + + + + + + + + +
+
const
+
+ + VERSION_00 + + + + int + (0). + Binary property list version 0.0 +
+
const
+
+ + VERSION_10 + + + + int + (10). + Binary property list version 1.0 +
+
const
+
+ + VERSION_15 + + + + int + (15). + Binary property list version 1.5 +
+
const
+
+ + VERSION_20 + + + + int + (20). + Binary property list version 2.0 +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + +
+
static
+
+ + Write + (System.IO.FileInfo, NSObject)
+ Writes a binary plist file with the given object as the root. +
+
static
+
+ + Write + (System.IO.Stream, NSObject)
+ Writes a binary plist serialization of the given object as the root. +
+
static
+
+ + WriteToArray + (NSObject) : byte[]
+ Writes a binary plist serialization of the given object as the root + into a byte array. +
+
+
+
+
+
+

Member Details

+
+

VERSION_00 Field

+
+
+ Binary property list version 0.0 +
+

+ Value: 0

+

Syntax

+
public const int VERSION_00
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

VERSION_10 Field

+
+
+ Binary property list version 1.0 +
+

+ Value: 10

+

Syntax

+
public const int VERSION_10
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

VERSION_15 Field

+
+
+ Binary property list version 1.5 +
+

+ Value: 15

+

Syntax

+
public const int VERSION_15
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

VERSION_20 Field

+
+
+ Binary property list version 2.0 +
+

+ Value: 20

+

Syntax

+
public const int VERSION_20
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Write Method

+
+
+ Writes a binary plist file with the given object as the root. +
+

Syntax

+
public static void Write (System.IO.FileInfo file, NSObject root)
+

Parameters

+
+
+
+ file +
+
the file to write to
+
+ root +
+
the source of the data to write to the file
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + +
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Write Method

+
+
+ Writes a binary plist serialization of the given object as the root. +
+

Syntax

+
public static void Write (System.IO.Stream outStream, NSObject root)
+

Parameters

+
+
+
+ outStream +
+
the stream to write to
+
+ root +
+
the source of the data to write to the stream
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + +
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

WriteToArray Method

+
+
+ Writes a binary plist serialization of the given object as the root + into a byte array. +
+

Syntax

+
public static byte[] WriteToArray (NSObject root)
+

Parameters

+
+
+
+ root +
+
The root object of the property list
+
+
+

Returns

+
The byte array containing the serialized property list
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + +
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSArray.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSArray.html new file mode 100644 index 00000000..d835185a --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSArray.html @@ -0,0 +1,960 @@ + + + Claunia.PropertyList.NSArray + + + + + + + +

NSArray Class

+

+ Represents an Array. +

+
+

Syntax

+
public class NSArray : NSObject
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + NSObject. +

+

Public Constructors

+
+
+ + + + + + + + + + + +
+
+
+
+
+ + NSArray + (params NSObject[])
+
+ Creates a array from an existing one +
+
+
+
+
+ + NSArray + (int)
+
+ Creates an empty array of the given length. +
+
+
+

Public Properties

+
+
+ + + + + + +
[read-only]
+ + Count + + + + int + . + Returns the size of the array. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + ContainsObject + (object) : bool
+ Checks whether an object is present in the array or whether it is equal + to any of the objects in the array. +
+
override
+
+ + Equals + (NSObject) : bool
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSArray. +
+
abstract
+
+ + Equals + (NSObject) : bool
+ Determines if the specific NSObject is the same as the NSObject overriding this method. + (Inherited from NSObject.)
+
override
+
+ + Equals + (object) : bool
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSArray. +
+
+
+
+ + GetArray + () : NSObject[]
+ Returns the array of NSObjects represented by this NSArray. + Any changes to the values of this array will also affect the NSArray. +
+
override
+
+ + GetHashCode + () : int
+ Serves as a hash function for a Claunia.PropertyList.NSArray object. +
+
+
+
+ + IndexOfIdenticalObject + (object) : int
+ Searches for an object in the array. If it is found its index will be + returned. This method only returns the index of an object that is + identical to the given one. Thus objects that might contain the + same value as the given one will not be considered. +
+
+
+
+ + IndexOfObject + (object) : int
+ Searches for an object in the array. If it is found its index will be + returned. This method also returns an index if the object is not the same + as the one stored in the array but has equal contents. +
+
+
+
+ + LastObject + () : NSObject
+ Returns the last object contained in this array. +
+
+
+
+ + ObjectAtIndex + (int) : NSObject
+ Returns the object stored at the given index. +
+
+
+
+ + ObjectsAtIndexes + (params int[]) : NSObject[]
+ Returns a new array containing only the values stored at the given + indices. The values are sorted by their index. +
+
+
+
+ + Remove + (int)
+ Remove the i-th element from the array. + The array will be resized. +
+
+
+
+ + SetValue + (int, object)
+ Stores an object at the specified index. + If there was another object stored at that index it will be replaced. +
+
+
+
+ + ToASCIIPropertyList + () : string

+ Generates a valid ASCII property list which has this NSArray as its + root object. +

+ The generated property list complies with the format as + described in https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html + Property List Programming Guide - Old-Style ASCII Property Lists. +

+
+
+
+ + ToGnuStepASCIIPropertyList + () : string

+ Generates a valid ASCII property list in GnuStep format which has this + NSArray as its root object. +

+ The generated property list complies with + the format as described in http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html + GnuStep - NSPropertyListSerialization class documentation. +

+
+
+
+ + ToObject + () : object
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

(Inherited from NSObject.)
+
+
+
+ + ToXmlPropertyList + () : string
+ Generates a valid XML property list including headers using this object as root. + (Inherited from NSObject.)
+
+
+
+
+
+

Member Details

+
+

NSArray Constructor

+
+
+ Creates a array from an existing one +
+

Syntax

+
public NSArray (params NSObject[] a)
+

Parameters

+
+
+
+ a +
+
The array which should be wrapped by the NSArray.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSArray Constructor

+
+
+ Creates an empty array of the given length. +
+

Syntax

+
public NSArray (int length)
+

Parameters

+
+
+
+ length +
+
The number of elements this array will be able to hold.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsObject Method

+
+
+ Checks whether an object is present in the array or whether it is equal + to any of the objects in the array. +
+

Syntax

+
public bool ContainsObject (object obj)
+

Parameters

+
+
+
+ obj +
+
The object to look for.
+
+
+

Returns

+
+ true, when the object could be found. false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Count Property

+
+
+ Returns the size of the array. +
+

Syntax

+
public int Count { get; }
+

Value

+
The number of elements that this array can store.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSArray. +
+

Syntax

+
public override bool Equals (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSArray.
+
+
+

Returns

+
+ true if the specified Claunia.PropertyList.NSObject is equal to the current + Claunia.PropertyList.NSArray; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSArray. +
+

Syntax

+
public override bool Equals (object obj)
+

Parameters

+
+
+
+ obj +
+
The object to compare with the current Claunia.PropertyList.NSArray.
+
+
+

Returns

+
+ true if the specified object is equal to the current + Claunia.PropertyList.NSArray; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetArray Method

+
+
+ Returns the array of NSObjects represented by this NSArray. + Any changes to the values of this array will also affect the NSArray. +
+

Syntax

+
public NSObject[] GetArray ()
+

Returns

+
The actual array represented by this NSArray.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetHashCode Method

+
+
+ Serves as a hash function for a Claunia.PropertyList.NSArray object. +
+

Syntax

+
public override int GetHashCode ()
+

Returns

+
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

IndexOfIdenticalObject Method

+
+
+ Searches for an object in the array. If it is found its index will be + returned. This method only returns the index of an object that is + identical to the given one. Thus objects that might contain the + same value as the given one will not be considered. +
+

Syntax

+
public int IndexOfIdenticalObject (object obj)
+

Parameters

+
+
+
+ obj +
+
The object to look for.
+
+
+

Returns

+
The index of the object, if it was found. -1 otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

IndexOfObject Method

+
+
+ Searches for an object in the array. If it is found its index will be + returned. This method also returns an index if the object is not the same + as the one stored in the array but has equal contents. +
+

Syntax

+
public int IndexOfObject (object obj)
+

Parameters

+
+
+
+ obj +
+
The object to look for.
+
+
+

Returns

+
The index of the object, if it was found. -1 otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

LastObject Method

+
+
+ Returns the last object contained in this array. +
+

Syntax

+
public NSObject LastObject ()
+

Returns

+
The value of the highest index in the array.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ObjectAtIndex Method

+
+
+ Returns the object stored at the given index. +
+

Syntax

+
public NSObject ObjectAtIndex (int i)
+

Parameters

+
+
+
+ i +
+
The index of the object.
+
+
+

Returns

+
The object at the given index.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ObjectsAtIndexes Method

+
+
+ Returns a new array containing only the values stored at the given + indices. The values are sorted by their index. +
+

Syntax

+
public NSObject[] ObjectsAtIndexes (params int[] indexes)
+

Parameters

+
+
+
+ indexes +
+
The indices of the objects.
+
+
+

Returns

+
The new array containing the objects stored at the given indices.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Remove Method

+
+
+ Remove the i-th element from the array. + The array will be resized. +
+

Syntax

+
public void Remove (int i)
+

Parameters

+
+
+
+ i +
+
The index of the object
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SetValue Method

+
+
+ Stores an object at the specified index. + If there was another object stored at that index it will be replaced. +
+

Syntax

+
public void SetValue (int key, object value)
+

Parameters

+
+
+
+ key +
+
The index where to store the object.
+
+ value +
+
The object.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToASCIIPropertyList Method

+
+
+

+ Generates a valid ASCII property list which has this NSArray as its + root object. +

+

+ The generated property list complies with the format as + described in https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html + Property List Programming Guide - Old-Style ASCII Property Lists. +

+
+

Syntax

+
public string ToASCIIPropertyList ()
+

Returns

+
ASCII representation of this object.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToGnuStepASCIIPropertyList Method

+
+
+

+ Generates a valid ASCII property list in GnuStep format which has this + NSArray as its root object. +

+

+ The generated property list complies with + the format as described in http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html + GnuStep - NSPropertyListSerialization class documentation. +

+
+

Syntax

+
public string ToGnuStepASCIIPropertyList ()
+

Returns

+
GnuStep ASCII representation of this object.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSData.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSData.html new file mode 100644 index 00000000..d7635dea --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSData.html @@ -0,0 +1,743 @@ + + + Claunia.PropertyList.NSData + + + + + + + +

NSData Class

+

+ NSData objects are wrappers for byte buffers +

+
+

Syntax

+
public class NSData : NSObject
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + NSObject. +

+

Public Constructors

+
+
+ + + + + + + + + + + + + + + + +
+
+
+
+
+ + NSData + (byte[])
+
+ Creates the NSData object from the binary representation of it. +
+
+
+
+ + + Creates a NSData object from a file. Using the files contents as the contents of this NSData object. +
+
+
+
+
+ + NSData + (string)
+
+ Creates a NSData object from its textual representation, which is a Base64 encoded amount of bytes. +
+
+
+

Public Properties

+
+
+ + + + + + + + + + + +
[read-only]
+ + Bytes + + + + byte[]. + The bytes contained in this NSData object. +
[read-only]
+ + Length + + + + int + . + Gets the amount of data stored in this object. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
override
+
+ + Equals + (NSObject) : bool
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSData. +
+
abstract
+
+ + Equals + (NSObject) : bool
+ Determines if the specific NSObject is the same as the NSObject overriding this method. + (Inherited from NSObject.)
+
override
+
+ + Equals + (object) : bool
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSData. +
+
+
+
+ + GetBase64EncodedData + () : string
+ Gets the Base64 encoded data contained in this NSData object. +
+
+
+
+ + GetBytes + (System.IO.MemoryStream, int)
+ Loads the bytes from this NSData object into a byte buffer. +
+
+
+
+ + GetBytes + (System.IO.MemoryStream, int, int)
+ Loads the bytes from this NSData object into a byte buffer. +
+
override
+
+ + GetHashCode + () : int
+ Serves as a hash function for a Claunia.PropertyList.NSData object. +
+
+
+
+ + ToObject + () : object
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

(Inherited from NSObject.)
+
+
+
+ + ToXmlPropertyList + () : string
+ Generates a valid XML property list including headers using this object as root. + (Inherited from NSObject.)
+
+
+
+
+
+

Member Details

+
+

NSData Constructor

+
+
+ Creates the NSData object from the binary representation of it. +
+

Syntax

+
public NSData (byte[] bytes)
+

Parameters

+
+
+
+ bytes +
+
The raw data contained in the NSData object.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSData Constructor

+
+
+ Creates a NSData object from a file. Using the files contents as the contents of this NSData object. +
+

Syntax

+
public NSData (System.IO.FileInfo file)
+

Parameters

+
+
+
+ file +
+
The file containing the data.
+
+
+

Exceptions

+
+ + + + + + + + + + + + + +
TypeReason
+ System.IO.FileNotFoundException + If the file could not be found.
+ System.IO.IOException + If the file could not be read.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSData Constructor

+
+
+ Creates a NSData object from its textual representation, which is a Base64 encoded amount of bytes. +
+

Syntax

+
public NSData (string base64)
+

Parameters

+
+
+
+ base64 +
+
The Base64 encoded contents of the NSData object.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ FormatException + When the given string is not a proper Base64 formatted string.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Bytes Property

+
+
+ The bytes contained in this NSData object. +
+

Syntax

+
public byte[] Bytes { get; }
+

Value

+
The data as bytes
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSData. +
+

Syntax

+
public override bool Equals (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSData.
+
+
+

Returns

+
+ true if the specified Claunia.PropertyList.NSObject is equal to the current + Claunia.PropertyList.NSData; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSData. +
+

Syntax

+
public override bool Equals (object obj)
+

Parameters

+
+
+
+ obj +
+
The object to compare with the current Claunia.PropertyList.NSData.
+
+
+

Returns

+
+ true if the specified object is equal to the current + Claunia.PropertyList.NSData; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetBase64EncodedData Method

+
+
+ Gets the Base64 encoded data contained in this NSData object. +
+

Syntax

+
public string GetBase64EncodedData ()
+

Returns

+
The Base64 encoded data as a string.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetBytes Method

+
+
+ Loads the bytes from this NSData object into a byte buffer. +
+

Syntax

+
public void GetBytes (System.IO.MemoryStream buf, int length)
+

Parameters

+
+
+
+ buf +
+
The byte buffer which will contain the data
+
+ length +
+
The amount of data to copy
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetBytes Method

+
+
+ Loads the bytes from this NSData object into a byte buffer. +
+

Syntax

+
public void GetBytes (System.IO.MemoryStream buf, int rangeStart, int rangeStop)
+

Parameters

+
+
+
+ buf +
+
The byte buffer which will contain the data
+
+ rangeStart +
+
The start index.
+
+ rangeStop +
+
The stop index.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetHashCode Method

+
+
+ Serves as a hash function for a Claunia.PropertyList.NSData object. +
+

Syntax

+
public override int GetHashCode ()
+

Returns

+
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Length Property

+
+
+ Gets the amount of data stored in this object. +
+

Syntax

+
public int Length { get; }
+

Value

+
The number of bytes contained in this object.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSDate.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSDate.html new file mode 100644 index 00000000..8cd5201a --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSDate.html @@ -0,0 +1,604 @@ + + + Claunia.PropertyList.NSDate + + + + + + + +

NSDate Class

+

+ Represents a date +

+
+

Syntax

+
public class NSDate : NSObject
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + NSObject. +

+

Public Constructors

+
+
+ + + + + + + + + + + + + + + + +
+
+
+
+
+ + NSDate + (byte[])
+
+ Creates a date from its binary representation. +
+
+
+
+
+ + NSDate + (DateTime)
+
+ Creates a NSDate from a .NET DateTime +
+
+
+
+
+ + NSDate + (string)
+
+ Parses a date from its textual representation. + That representation has the following pattern:
Example
yyyy-MM-dd'T'HH:mm:ss'Z'
+
+
+

Public Properties

+
+
+ + + + + + +
[read-only]
+ + Date + + + + DateTime + . + Gets the date. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
override
+
+ + Equals + (NSObject) : bool
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSDate. +
+
abstract
+
+ + Equals + (NSObject) : bool
+ Determines if the specific NSObject is the same as the NSObject overriding this method. + (Inherited from NSObject.)
+
override
+
+ + Equals + (object) : bool
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSDate. +
+
override
+
+ + GetHashCode + () : int
+ Serves as a hash function for a Claunia.PropertyList.NSDate object. +
+
+
+
+ + ToObject + () : object
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

(Inherited from NSObject.)
+
override
+
+ + ToString + () : string
+ Generates a string representation of the date. +
+
+
+
+ + ToXmlPropertyList + () : string
+ Generates a valid XML property list including headers using this object as root. + (Inherited from NSObject.)
+
+
+
+
+
+

Member Details

+
+

NSDate Constructor

+
+
+ Creates a date from its binary representation. +
+

Syntax

+
public NSDate (byte[] bytes)
+

Parameters

+
+
+
+ bytes +
+
bytes The date bytes
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSDate Constructor

+
+
+ Creates a NSDate from a .NET DateTime +
+

Syntax

+
public NSDate (DateTime d)
+

Parameters

+
+
+
+ d +
+
The date
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSDate Constructor

+
+
+ Parses a date from its textual representation. + That representation has the following pattern:
Example
yyyy-MM-dd'T'HH:mm:ss'Z'
+

Syntax

+
public NSDate (string textRepresentation)
+

Parameters

+
+
+
+ textRepresentation +
+
The textual representation of the date (ISO 8601 format)
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ FormatException + When the date could not be parsed, i.e. it does not match the expected pattern.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Date Property

+
+
+ Gets the date. +
+

Syntax

+
public DateTime Date { get; }
+

Value

+
The date.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSDate. +
+

Syntax

+
public override bool Equals (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSDate.
+
+
+

Returns

+
+ true if the specified Claunia.PropertyList.NSObject is equal to the current + Claunia.PropertyList.NSDate; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSDate. +
+

Syntax

+
public override bool Equals (object obj)
+

Parameters

+
+
+
+ obj +
+
The object to compare with the current Claunia.PropertyList.NSDate.
+
+
+

Returns

+
+ true if the specified object is equal to the current + Claunia.PropertyList.NSDate; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetHashCode Method

+
+
+ Serves as a hash function for a Claunia.PropertyList.NSDate object. +
+

Syntax

+
public override int GetHashCode ()
+

Returns

+
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToString Method

+
+
+ Generates a string representation of the date. +
+

Syntax

+
public override string ToString ()
+

Returns

+
A string representation of the date.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSDictionary.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSDictionary.html new file mode 100644 index 00000000..8ff08f4d --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSDictionary.html @@ -0,0 +1,1790 @@ + + + Claunia.PropertyList.NSDictionary + + + + + + + +

NSDictionary Class

+

+

+ A NSDictionary is a collection of keys and values, essentially a Dictionary. + The keys are simple Strings whereas the values can be any kind of NSObject. +

+

+ You can access the keys through the function NSDictionary.Keys. +

+

+ Access to the objects stored for each key is given through the function + NSDictionary.ObjectForKey(string). +

+

+ +
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + NSObject. +

+

Public Constructors

+
+
+ + + + + + +
+
+
+
+
+ + NSDictionary + ()
+
+ Creates a new empty NSDictionary. +
+
+
+

Public Properties

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
[read-only]
+ + Count + + + + int + . + Gets the count of items in the current instance. +
[read-only]
+ + IsEmpty + + + + bool + . + Gets a value indicating whether this instance is empty. +
[read-only]
+ + IsReadOnly + + + + bool + . + Gets a value indicating whether this instance is read only. +
+
+ default property +
+
+
+
+ + Item + (string) + + NSObject + . + Gets or sets the Claunia.PropertyList.NSObject at the specified index. +
[read-only]
+ + Keys + + + + ICollection<string> + . + Gets an array with all the keys contained in the current instance. +
[read-only]
+ + Values + + + + ICollection<NSObject> + . + Gets an array with all the objects contained in the current instance. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + Add + (KeyValuePair<string, NSObject>)
+ Adds the specified item. +
+
+
+
+ + Add + (string, NSObject)
+ Add the specified key and value. +
+
+
+
+ + Add + (string, bool)
+ Puts a new key-value pair into this dictionary. +
+
+
+
+ + Add + (string, double)
+ Puts a new key-value pair into this dictionary. +
+
+
+
+ + Add + (string, long)
+ Puts a new key-value pair into this dictionary. +
+
+
+
+ + Add + (string, object)
+ Puts a new key-value pair into this dictionary. + If the value is null, no operation will be performed on the dictionary. +
+
+
+
+ + Clear + ()
+ Clears this instance. +
+
+
+
+ + Contains + (KeyValuePair<string, NSObject>) : bool
+ Checks if the current instance contains the specified item. +
+
+
+
+ + ContainsKey + (object) : bool
+ Checks if the specified object key is contained in the current instance. +
+
+
+
+ + ContainsKey + (string) : bool
+ Checks if there is any item contained in the current instance corresponding with the specified key. +
+
+
+
+ + ContainsValue + (NSObject) : bool
+ Checks if there is any item contained in the current instance corresponding with the specified value. +
+
+
+
+ + ContainsValue + (bool) : bool
+ Checks whether a given value is contained in this dictionary. +
+
+
+
+ + ContainsValue + (byte[]) : bool
+ Checks whether a given value is contained in this dictionary. +
+
+
+
+ + ContainsValue + (DateTime) : bool
+ Checks whether a given value is contained in this dictionary. +
+
+
+
+ + ContainsValue + (double) : bool
+ Checks whether a given value is contained in this dictionary. +
+
+
+
+ + ContainsValue + (long) : bool
+ Checks whether a given value is contained in this dictionary. +
+
+
+
+ + ContainsValue + (object) : bool
+ Checks if the current instance contains the object corresponding to the specified key. +
+
+
+
+ + ContainsValue + (string) : bool
+ Checks whether a given value is contained in this dictionary. +
+
+
+
+ + CopyTo + (KeyValuePair<string, NSObject>[], int)
+ Copies the System.Collections.Generic.Dictionary`2.ValueCollection elements to an existing one-dimensional Array, starting at the specified array index. +
+
override
+
+ + Equals + (NSObject) : bool
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSDictionary. +
+
abstract
+
+ + Equals + (NSObject) : bool
+ Determines if the specific NSObject is the same as the NSObject overriding this method. + (Inherited from NSObject.)
+
+
+
+ + Get + (object) : NSObject
+ Gets the Claunia.PropertyList.NSObject corresponding to the specified key from the current instance. +
+
+
+
+ + GetDictionary + () : Dictionary<string, NSObject>
+ Gets the hashmap which stores the keys and values of this dictionary. + Changes to the hashmap's contents are directly reflected in this + dictionary. +
+
+
+
+ + GetEnumerator + () : IEnumerator<KeyValuePair<string, NSObject>>
+ Gets the enumerator. +
+
override
+
+ + GetHashCode + () : int
+ Serves as a hash function for a Claunia.PropertyList.NSDictionary object. +
+
+
+
+ + ObjectForKey + (string) : NSObject
+ Gets the NSObject stored for the given key. +
+
+
+
+ + Remove + (KeyValuePair<string, NSObject>) : bool
+ Removes the specified item. +
+
+
+
+ + Remove + (object) : bool
+ Removes the item corresponding to the specified key from the current instance, if found. +
+
+
+
+ + Remove + (string) : bool
+ Removes the item belonging to the specified key. +
+
+
+
+ + ToASCIIPropertyList + () : string
+ Generates a valid ASCII property list which has this NSDictionary as its + root object. The generated property list complies with the format as + described in https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html + Property List Programming Guide - Old-Style ASCII Property Lists. +
+
+
+
+ + ToGnuStepASCIIPropertyList + () : string
+ Generates a valid ASCII property list in GnuStep format which has this + NSDictionary as its root object. The generated property list complies with + the format as described in http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html + GnuStep - NSPropertyListSerialization class documentation. +
+
+
+
+ + ToObject + () : object
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

(Inherited from NSObject.)
+
+
+
+ + ToXmlPropertyList + () : string
+ Generates a valid XML property list including headers using this object as root. + (Inherited from NSObject.)
+
+
+
+ + TryGetValue + (string, out NSObject) : bool
+ Tries to get the item corresponding to the specified key +
+
+
+

Explicitly Implemented Interface Members

+
+
+ + + + + + +
+
+
+
+ + IEnumerable.GetEnumerator + + + Documentation for this section has not yet been entered. +
+
+
+
+
+
+

Member Details

+
+

NSDictionary Constructor

+
+
+ Creates a new empty NSDictionary. +
+

Syntax

+
public NSDictionary ()
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Add Method

+
+
+ Adds the specified item. +
+

Syntax

+ +

Parameters

+
+
+
+ item +
+
Item.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Add Method

+
+
+ Add the specified key and value. +
+

Syntax

+
public void Add (string key, NSObject value)
+

Parameters

+
+
+
+ key +
+
Key.
+
+ value +
+
Value.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Add Method

+
+
+ Puts a new key-value pair into this dictionary. +
+

Syntax

+
public void Add (string key, bool obj)
+

Parameters

+
+
+
+ key +
+
The key.
+
+ obj +
+
The value.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Add Method

+
+
+ Puts a new key-value pair into this dictionary. +
+

Syntax

+
public void Add (string key, double obj)
+

Parameters

+
+
+
+ key +
+
The key.
+
+ obj +
+
The value.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Add Method

+
+
+ Puts a new key-value pair into this dictionary. +
+

Syntax

+
public void Add (string key, long obj)
+

Parameters

+
+
+
+ key +
+
The key.
+
+ obj +
+
The value.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Add Method

+
+
+ Puts a new key-value pair into this dictionary. + If the value is null, no operation will be performed on the dictionary. +
+

Syntax

+
public void Add (string key, object obj)
+

Parameters

+
+
+
+ key +
+
The key.
+
+ obj +
+
The value. Supported object types are numbers, byte-arrays, dates, strings and arrays or sets of those.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Clear Method

+
+
+ Clears this instance. +
+

Syntax

+
public void Clear ()
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Contains Method

+
+
+ Checks if the current instance contains the specified item. +
+

Syntax

+
public bool Contains (KeyValuePair<string, NSObject> item)
+

Parameters

+
+
+
+ item +
+
Item.
+
+
+

Returns

+
+ true if it is found, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsKey Method

+
+
+ Checks if the specified object key is contained in the current instance. +
+

Syntax

+
public bool ContainsKey (object key)
+

Parameters

+
+
+
+ key +
+
Key.
+
+
+

Returns

+
+ true, if key is contained, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsKey Method

+
+
+ Checks if there is any item contained in the current instance corresponding with the specified key. +
+

Syntax

+
public bool ContainsKey (string key)
+

Parameters

+
+
+
+ key +
+
Key.
+
+
+

Returns

+
+ true, if key was contained, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsValue Method

+
+
+ Checks if there is any item contained in the current instance corresponding with the specified value. +
+

Syntax

+
public bool ContainsValue (NSObject value)
+

Parameters

+
+
+
+ value +
+
Key.
+
+
+

Returns

+
+ true, if value is contained, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsValue Method

+
+
+ Checks whether a given value is contained in this dictionary. +
+

Syntax

+
public bool ContainsValue (bool val)
+

Parameters

+
+
+
+ val +
+
The value that will be searched for.
+
+
+

Returns

+
Whether the key is contained in this dictionary.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsValue Method

+
+
+ Checks whether a given value is contained in this dictionary. +
+

Syntax

+
public bool ContainsValue (byte[] val)
+

Parameters

+
+
+
+ val +
+
The value that will be searched for.
+
+
+

Returns

+
Whether the key is contained in this dictionary.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsValue Method

+
+
+ Checks whether a given value is contained in this dictionary. +
+

Syntax

+
public bool ContainsValue (DateTime val)
+

Parameters

+
+
+
+ val +
+
The value that will be searched for.
+
+
+

Returns

+
Whether the key is contained in this dictionary.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsValue Method

+
+
+ Checks whether a given value is contained in this dictionary. +
+

Syntax

+
public bool ContainsValue (double val)
+

Parameters

+
+
+
+ val +
+
The value that will be searched for.
+
+
+

Returns

+
Whether the key is contained in this dictionary.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsValue Method

+
+
+ Checks whether a given value is contained in this dictionary. +
+

Syntax

+
public bool ContainsValue (long val)
+

Parameters

+
+
+
+ val +
+
The value that will be searched for.
+
+
+

Returns

+
Whether the key is contained in this dictionary.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsValue Method

+
+
+ Checks if the current instance contains the object corresponding to the specified key. +
+

Syntax

+
public bool ContainsValue (object value)
+

Parameters

+
+
+
+ value +
+
Object to search up in the current instance.
+
+
+

Returns

+
+ true, if value is contained, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsValue Method

+
+
+ Checks whether a given value is contained in this dictionary. +
+

Syntax

+
public bool ContainsValue (string val)
+

Parameters

+
+
+
+ val +
+
The value that will be searched for.
+
+
+

Returns

+
Whether the key is contained in this dictionary.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

CopyTo Method

+
+
+ Copies the System.Collections.Generic.Dictionary`2.ValueCollection elements to an existing one-dimensional Array, starting at the specified array index. +
+

Syntax

+
public void CopyTo (KeyValuePair<string, NSObject>[] array, int arrayIndex)
+

Parameters

+
+
+
+ array +
+
The one-dimensional Array that is the destination of the elements copied from System.Collections.Generic.Dictionary`2.ValueCollection. The Array must have zero-based indexing.
+
+ arrayIndex +
+
The zero-based index in array at which copying begins.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Count Property

+
+
+ Gets the count of items in the current instance. +
+

Syntax

+
public int Count { get; }
+

Value

+
How many items are contained in the current instance.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSDictionary. +
+

Syntax

+
public override bool Equals (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSDictionary.
+
+
+

Returns

+
+ true if the specified Claunia.PropertyList.NSObject is equal to the current + Claunia.PropertyList.NSDictionary; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Get Method

+
+
+ Gets the Claunia.PropertyList.NSObject corresponding to the specified key from the current instance. +
+

Syntax

+
public NSObject Get (object key)
+

Parameters

+
+
+
+ key +
+
Key.
+
+
+

Returns

+
The object corresponding to the specified key, null if not found in the current instance.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetDictionary Method

+
+
+ Gets the hashmap which stores the keys and values of this dictionary. + Changes to the hashmap's contents are directly reflected in this + dictionary. +
+

Syntax

+
public Dictionary<string, NSObject> GetDictionary ()
+

Returns

+
The hashmap which is used by this dictionary to store its contents.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetEnumerator Method

+
+
+ Gets the enumerator. +
+

Syntax

+ +

Returns

+
The enumerator.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetHashCode Method

+
+
+ Serves as a hash function for a Claunia.PropertyList.NSDictionary object. +
+

Syntax

+
public override int GetHashCode ()
+

Returns

+
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

IsEmpty Property

+
+
+ Gets a value indicating whether this instance is empty. +
+

Syntax

+
public bool IsEmpty { get; }
+

Value

+
+ true if this instance is empty; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

IsReadOnly Property

+
+
+ Gets a value indicating whether this instance is read only. +
+

Syntax

+
public bool IsReadOnly { get; }
+

Value

+
+ true if this instance is read only; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Item Property

+
+
+ Gets or sets the Claunia.PropertyList.NSObject at the specified index. +
+

Syntax

+
+

+ This is the default property for this class. +

public NSObject this [string index] { get; set; }
+

Parameters

+
+
+
+ index +
+
Index.
+
+
+

Value

+
+ Documentation for this section has not yet been entered. +
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Keys Property

+
+
+ Gets an array with all the keys contained in the current instance. +
+

Syntax

+
public ICollection<string> Keys { get; }
+

Value

+
The keys.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ObjectForKey Method

+
+
+ Gets the NSObject stored for the given key. +
+

Syntax

+
public NSObject ObjectForKey (string key)
+

Parameters

+
+
+
+ key +
+
The key.
+
+
+

Returns

+
The object.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Remove Method

+
+
+ Removes the specified item. +
+

Syntax

+ +

Parameters

+
+
+
+ item +
+
Item to remove.
+
+
+

Returns

+
+ true if successfully removed, false if not, or if item is not in current instance.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Remove Method

+
+
+ Removes the item corresponding to the specified key from the current instance, if found. +
+

Syntax

+
public bool Remove (object key)
+

Parameters

+
+
+
+ key +
+
Key.
+
+
+

Returns

+
+ true, if removed, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Remove Method

+
+
+ Removes the item belonging to the specified key. +
+

Syntax

+
public bool Remove (string key)
+

Parameters

+
+
+
+ key +
+
Key.
+
+
+

Returns

+
+ Documentation for this section has not yet been entered. +
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

System.Collections.IEnumerable.GetEnumerator Method

+
+
+ Documentation for this section has not yet been entered. +
+

Syntax

+
+ IEnumerator System.Collections.IEnumerable.GetEnumerator ()
+

Returns

+
+ Documentation for this section has not yet been entered. +
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToASCIIPropertyList Method

+
+
+ Generates a valid ASCII property list which has this NSDictionary as its + root object. The generated property list complies with the format as + described in https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html + Property List Programming Guide - Old-Style ASCII Property Lists. +
+

Syntax

+
public string ToASCIIPropertyList ()
+

Returns

+
ASCII representation of this object.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToGnuStepASCIIPropertyList Method

+
+
+ Generates a valid ASCII property list in GnuStep format which has this + NSDictionary as its root object. The generated property list complies with + the format as described in http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html + GnuStep - NSPropertyListSerialization class documentation. +
+

Syntax

+
public string ToGnuStepASCIIPropertyList ()
+

Returns

+
GnuStep ASCII representation of this object.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

TryGetValue Method

+
+
+ Tries to get the item corresponding to the specified key +
+

Syntax

+
public bool TryGetValue (string key, out NSObject value)
+

Parameters

+
+
+
+ key +
+
Key.
+
+ value +
+
Where to store the value.
+
+
+

Returns

+
+ true, if get value was successfully found and retrieved, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Values Property

+
+
+ Gets an array with all the objects contained in the current instance. +
+

Syntax

+
public ICollection<NSObject> Values { get; }
+

Value

+
The objects.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSNumber.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSNumber.html new file mode 100644 index 00000000..50cfe6f0 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSNumber.html @@ -0,0 +1,1139 @@ + + + Claunia.PropertyList.NSNumber + + + + + + + +

NSNumber Class

+

+ A number whose value is either an integer, a real number or bool. +

+
+

Syntax

+
public class NSNumber : NSObject, IComparable
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + NSObject. +

+

Public Constructors

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + NSNumber + (bool)
+
+ Creates a bool number. +
+
+
+
+
+ + NSNumber + (double)
+
+ Creates a real number. +
+
+
+
+
+ + NSNumber + (int)
+
+ Creates an integer number. +
+
+
+
+
+ + NSNumber + (long)
+
+ Creates an integer number. +
+
+
+
+
+ + NSNumber + (string)
+
+ Creates a number from its textual representation. +
+
+
+
+
+ + NSNumber + (byte[], int)
+
+ Parses integers and real numbers from their binary representation. + Note: real numbers are not yet supported.
+
+
+

Public Fields

+
+
+ + + + + + + + + + + + + + + + +
+
const
+
+ + BOOLEAN + + + + int + (2). + Indicates that the number's value is bool. +
+
const
+
+ + INTEGER + + + + int + (0). + Indicates that the number's value is an integer. + The number is stored as a .NET long. + Its original value could have been char, short, int, long or even long long. +
+
const
+
+ + REAL + + + + int + (1). + Indicates that the number's value is a real number. + The number is stored as a .NET double. + Its original value could have been float or double. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + CompareTo + (object) : int
+ Compares the current Claunia.PropertyList.NSNumber to the specified object. +
+
override
+
+ + Equals + (NSObject) : bool
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSNumber. +
+
abstract
+
+ + Equals + (NSObject) : bool
+ Determines if the specific NSObject is the same as the NSObject overriding this method. + (Inherited from NSObject.)
+
override
+
+ + Equals + (object) : bool
+ Checks whether the other object is a NSNumber of the same value. +
+
+
+
+ + floatValue + () : float
+ The number's float value. + WARNING: Possible loss of precision if the value is outside the float range. +
+
override
+
+ + GetHashCode + () : int
+ Serves as a hash function for a Claunia.PropertyList.NSNumber object. +
+
+
+
+ + GetNSNumberType + () : int
+ Gets the type of this number's value. +
+
+
+
+ + isBoolean + () : bool
+ Checks whether the value of this NSNumber is a bool. +
+
+
+
+ + isInteger + () : bool
+ Checks whether the value of this NSNumber is an integer. +
+
+
+
+ + isReal + () : bool
+ Checks whether the value of this NSNumber is a real number. +
+
+
+
+ + ToBool + () : bool
+ The number's bool value. +
+
+
+
+ + ToDouble + () : double
+ The number's double value. +
+
+
+
+ + ToInt + () : int
+ The number's int value. + Note: Even though the number's type might be INTEGER it can be larger than a Java int. + Use intValue() only if you are certain that it contains a number from the int range. + Otherwise the value might be innaccurate.
+
+
+
+ + ToLong + () : long
+ The number's long value. +
+
+
+
+ + ToObject + () : object
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

(Inherited from NSObject.)
+
override
+
+ + ToString + () : string
+ Returns a string that represents the current Claunia.PropertyList.NSNumber. +
+
+
+
+ + ToXmlPropertyList + () : string
+ Generates a valid XML property list including headers using this object as root. + (Inherited from NSObject.)
+
+
+
+
+
+

Member Details

+
+

NSNumber Constructor

+
+
+ Creates a bool number. +
+

Syntax

+
public NSNumber (bool b)
+

Parameters

+
+
+
+ b +
+
The bool value.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSNumber Constructor

+
+
+ Creates a real number. +
+

Syntax

+
public NSNumber (double d)
+

Parameters

+
+
+
+ d +
+
The real value.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSNumber Constructor

+
+
+ Creates an integer number. +
+

Syntax

+
public NSNumber (int i)
+

Parameters

+
+
+
+ i +
+
The integer value.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSNumber Constructor

+
+
+ Creates an integer number. +
+

Syntax

+
public NSNumber (long l)
+

Parameters

+
+
+
+ l +
+
The long integer value.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSNumber Constructor

+
+
+ Creates a number from its textual representation. +
+

Syntax

+
public NSNumber (string text)
+

See Also

+
+ + + +
+

Parameters

+
+
+
+ text +
+
The textual representation of the number.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSNumber Constructor

+
+
+ Parses integers and real numbers from their binary representation. + Note: real numbers are not yet supported.
+

Syntax

+
public NSNumber (byte[] bytes, int type)
+

See Also

+
+ + +
+

Parameters

+
+
+
+ bytes +
+
The binary representation
+
+ type +
+
The type of number
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

BOOLEAN Field

+
+
+ Indicates that the number's value is bool. +
+

+ Value: 2

+

Syntax

+
public const int BOOLEAN
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

CompareTo Method

+
+
+ Compares the current Claunia.PropertyList.NSNumber to the specified object. +
+

Syntax

+
public int CompareTo (object o)
+

Parameters

+
+
+
+ o +
+
Object to compare to the current Claunia.PropertyList.NSNumber.
+
+
+

Returns

+
0 if the numbers are equal, 1 if the current Claunia.PropertyList.NSNumber is greater + than the argument and -1 if it is less, or the argument is not a number.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSNumber. +
+

Syntax

+
public override bool Equals (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSNumber.
+
+
+

Returns

+
+ true if the specified Claunia.PropertyList.NSObject is equal to the current + Claunia.PropertyList.NSNumber; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Checks whether the other object is a NSNumber of the same value. +
+

Syntax

+
public override bool Equals (object obj)
+

Parameters

+
+
+
+ obj +
+
The object to compare to.
+
+
+

Returns

+
Whether the objects are equal in terms of numeric value and type.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

floatValue Method

+
+
+ The number's float value. + WARNING: Possible loss of precision if the value is outside the float range. +
+

Syntax

+
public float floatValue ()
+

Returns

+
The value of the number as float.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetHashCode Method

+
+
+ Serves as a hash function for a Claunia.PropertyList.NSNumber object. +
+

Syntax

+
public override int GetHashCode ()
+

Returns

+
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetNSNumberType Method

+
+
+ Gets the type of this number's value. +
+

Syntax

+
public int GetNSNumberType ()
+

See Also

+
+ + + +
+

Returns

+
The type flag.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

INTEGER Field

+
+
+ Indicates that the number's value is an integer. + The number is stored as a .NET long. + Its original value could have been char, short, int, long or even long long. +
+

+ Value: 0

+

Syntax

+
public const int INTEGER
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

isBoolean Method

+
+
+ Checks whether the value of this NSNumber is a bool. +
+

Syntax

+
public bool isBoolean ()
+

Returns

+
Whether the number's value is a bool.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

isInteger Method

+
+
+ Checks whether the value of this NSNumber is an integer. +
+

Syntax

+
public bool isInteger ()
+

Returns

+
Whether the number's value is an integer.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

isReal Method

+
+
+ Checks whether the value of this NSNumber is a real number. +
+

Syntax

+
public bool isReal ()
+

Returns

+
Whether the number's value is a real number.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

REAL Field

+
+
+ Indicates that the number's value is a real number. + The number is stored as a .NET double. + Its original value could have been float or double. +
+

+ Value: 1

+

Syntax

+
public const int REAL
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToBool Method

+
+
+ The number's bool value. +
+

Syntax

+
public bool ToBool ()
+

Returns

+
+ true if the value is true or non-zero, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToDouble Method

+
+
+ The number's double value. +
+

Syntax

+
public double ToDouble ()
+

Returns

+
The value of the number as double.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToInt Method

+
+
+ The number's int value. + Note: Even though the number's type might be INTEGER it can be larger than a Java int. + Use intValue() only if you are certain that it contains a number from the int range. + Otherwise the value might be innaccurate.
+

Syntax

+
public int ToInt ()
+

Returns

+
The value of the number as int.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToLong Method

+
+
+ The number's long value. +
+

Syntax

+
public long ToLong ()
+

Returns

+
The value of the number as long
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToString Method

+
+
+ Returns a string that represents the current Claunia.PropertyList.NSNumber. +
+

Syntax

+
public override string ToString ()
+

Returns

+
A string that represents the current Claunia.PropertyList.NSNumber.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSObject.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSObject.html new file mode 100644 index 00000000..a382362c --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSObject.html @@ -0,0 +1,830 @@ + + + Claunia.PropertyList.NSObject + + + + + + + +

NSObject Class

+

+

+ Abstract interface for any object contained in a property list. +

+

+ The names and functions of the various objects orient themselves + towards Apple's Cocoa API. +

+

+
+

Syntax

+
public abstract class NSObject
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + object. +

+

Protected Constructors

+
+
+ + + + + + +
+
+
+
+
+ + NSObject + ()
+
+ Documentation for this section has not yet been entered. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
abstract
+
+ + Equals + (NSObject) : bool
+ Determines if the specific NSObject is the same as the NSObject overriding this method. +
+
+
+
+ + ToObject + () : object
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

+
+
+
+ + ToXmlPropertyList + () : string
+ Generates a valid XML property list including headers using this object as root. +
+
static
+
+ + Wrap + (bool) : NSNumber
+ Wraps the given value inside a NSObject. +
+
static
+
+ + Wrap + (byte[]) : NSData
+ Wraps the given value inside a NSObject. +
+
static
+
+ + Wrap + (Dictionary<string, object>) : NSDictionary
+ Creates a NSDictionary with the contents of the given map. +
+
static
+
+ + Wrap + (List<object>) : NSSet
+ Creates a NSSet with the contents of this set. +
+
static
+
+ + Wrap + (double) : NSNumber
+ Wraps the given value inside a NSObject. +
+
static
+
+ + Wrap + (long) : NSNumber
+ Wraps the given value inside a NSObject. +
+
static
+
+ + Wrap + (object) : NSObject

+ Creates a NSObject representing the given .NET Object. +

+ Numerics of type bool, int, long, short, byte, float or double are wrapped as NSNumber objects. +

+ Strings are wrapped as Claunia.PropertyList.NSString objects and byte arrays as Claunia.PropertyList.NSData objects. +

+ DateTime objects are wrapped as Claunia.PropertyList.NSDate objects. +

+ Serializable classes are serialized and their data is stored in Claunia.PropertyList.NSData objects. +

+ Arrays and Collection objects are converted to Claunia.PropertyList.NSArray where each array member is wrapped into a Claunia.PropertyList.NSObject. +

+ Dictionaries are converted to Claunia.PropertyList.NSDictionary. Each key is converted to a string and each value wrapped into a Claunia.PropertyList.NSObject. +

+
static
+
+ + Wrap + (object[]) : NSArray
+ Creates a NSArray with the contents of the given array. +
+
static
+
+ + WrapSerialized + (object) : NSData
+ Serializes the given object using Java's default object serialization + and wraps the serialized object in a NSData object. +
+
+
+
+
+
+

Member Details

+
+

NSObject Constructor

+
+
+ Documentation for this section has not yet been entered. +
+

Syntax

+
protected NSObject ()
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines if the specific NSObject is the same as the NSObject overriding this method. +
+

Syntax

+
public abstract bool Equals (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSObject.
+
+
+

Returns

+
+ true if the specified Claunia.PropertyList.NSObject is equal to the current + Claunia.PropertyList.NSObject; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToObject Method

+
+
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

+

Syntax

+
public object ToObject ()
+

Returns

+
A native .NET object representing this NSObject's value.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToXmlPropertyList Method

+
+
+ Generates a valid XML property list including headers using this object as root. +
+

Syntax

+
public string ToXmlPropertyList ()
+

Returns

+
The XML representation of the property list including XML header and doctype information.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Wrap Method

+
+
+ Wraps the given value inside a NSObject. +
+

Syntax

+
public static NSNumber Wrap (bool value)
+

Parameters

+
+
+
+ value +
+
The value to represent as a NSObject.
+
+
+

Returns

+
A NSObject representing the given value.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Wrap Method

+
+
+ Wraps the given value inside a NSObject. +
+

Syntax

+
public static NSData Wrap (byte[] value)
+

Parameters

+
+
+
+ value +
+
The value to represent as a NSObject.
+
+
+

Returns

+
A NSObject representing the given value.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Wrap Method

+
+
+ Creates a NSDictionary with the contents of the given map. +
+

Syntax

+
public static NSDictionary Wrap (Dictionary<string, object> value)
+

Parameters

+
+
+
+ value +
+
The value to represent as a NSObject.
+
+
+

Returns

+
A NSObject representing the given value.
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ SystemException + When one of the values contained in the map cannot be represented by a NSObject.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Wrap Method

+
+
+ Creates a NSSet with the contents of this set. +
+

Syntax

+
public static NSSet Wrap (List<object> value)
+

Parameters

+
+
+
+ value +
+
The value to represent as a NSObject.
+
+
+

Returns

+
A NSObject representing the given value.
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ SystemException + When one of the values contained in the map cannot be represented by a NSObject.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Wrap Method

+
+
+ Wraps the given value inside a NSObject. +
+

Syntax

+
public static NSNumber Wrap (double value)
+

Parameters

+
+
+
+ value +
+
The value to represent as a NSObject.
+
+
+

Returns

+
A NSObject representing the given value.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Wrap Method

+
+
+ Wraps the given value inside a NSObject. +
+

Syntax

+
public static NSNumber Wrap (long value)
+

Parameters

+
+
+
+ value +
+
The value to represent as a NSObject.
+
+
+

Returns

+
A NSObject representing the given value.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Wrap Method

+
+
+

+ Creates a NSObject representing the given .NET Object. +

+

+ Numerics of type bool, int, long, short, byte, float or double are wrapped as NSNumber objects. +

+

+ Strings are wrapped as Claunia.PropertyList.NSString objects and byte arrays as Claunia.PropertyList.NSData objects. +

+

+ DateTime objects are wrapped as Claunia.PropertyList.NSDate objects. +

+

+ Serializable classes are serialized and their data is stored in Claunia.PropertyList.NSData objects. +

+

+ Arrays and Collection objects are converted to Claunia.PropertyList.NSArray where each array member is wrapped into a Claunia.PropertyList.NSObject. +

+

+ Dictionaries are converted to Claunia.PropertyList.NSDictionary. Each key is converted to a string and each value wrapped into a Claunia.PropertyList.NSObject. +

+
+

Syntax

+
public static NSObject Wrap (object o)
+

Parameters

+
+
+
+ o +
+
The object to represent.
+
+
+

Returns

+
A NSObject equivalent to the given object.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Wrap Method

+
+
+ Creates a NSArray with the contents of the given array. +
+

Syntax

+
public static NSArray Wrap (object[] value)
+

Parameters

+
+
+
+ value +
+
The value to represent as a NSObject.
+
+
+

Returns

+
A NSObject representing the given value.
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ SystemException + When one of the objects contained in the array cannot be represented by a NSObject.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

WrapSerialized Method

+
+
+ Serializes the given object using Java's default object serialization + and wraps the serialized object in a NSData object. +
+

Syntax

+
public static NSData WrapSerialized (object o)
+

Parameters

+
+
+
+ o +
+
The object to serialize and wrap.
+
+
+

Returns

+
A NSData object
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ SystemException + When the object could not be serialized.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSSet.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSSet.html new file mode 100644 index 00000000..c321492c --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSSet.html @@ -0,0 +1,932 @@ + + + Claunia.PropertyList.NSSet + + + + + + + +

NSSet Class

+

+

+ A set is an interface to an unordered collection of objects. +

+

+ This implementation uses a List`1as the underlying + data structure. +

+

+
+

Syntax

+
public class NSSet : NSObject, IEnumerable
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + NSObject. +

+

Public Constructors

+
+
+ + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + NSSet + ()
+
+ Creates an empty unordered set. +
+
+
+
+
+ + NSSet + (params NSObject[])
+
+ Creates a set and fill it with the given objects. +
+
+
+
+
+ + NSSet + (bool)
+
+ Creates an empty set. +
+
+
+
+
+ + NSSet + (bool, params NSObject[])
+
+ Creates a set and fill it with the given objects. +
+
+
+

Public Properties

+
+
+ + + + + + +
[read-only]
+ + Count + + + + int + . + Gets the number of elements in the set. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + AddObject + (NSObject)
+ Adds an object to the set. +
+
+
+
+ + AllObjects + () : NSObject[]
+ Returns all objects contained in the set. +
+
+
+
+ + AnyObject + () : NSObject
+ Returns one of the objects in the set, or null + if the set contains no objects. +
+
+
+
+ + ContainsObject + (NSObject) : bool
+ Finds out whether a given object is contained in the set. +
+
override
+
+ + Equals + (NSObject) : bool
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSSet. +
+
abstract
+
+ + Equals + (NSObject) : bool
+ Determines if the specific NSObject is the same as the NSObject overriding this method. + (Inherited from NSObject.)
+
override
+
+ + Equals + (object) : bool
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSSet. +
+
+
+
+ + GetEnumerator + () : IEnumerator
+ Returns an enumerator object that lets you iterate over all elements of the set. + This is the equivalent to objectEnumerator in the Cocoa implementation + of NSSet. +
+
override
+
+ + GetHashCode + () : int
+ Serves as a hash function for a Claunia.PropertyList.NSSet object. +
+
+
+
+ + IntersectsSet + (NSSet) : bool
+ Finds out whether at least one object is present in both sets. +
+
+
+
+ + IsSubsetOfSet + (NSSet) : bool
+ Finds out if this set is a subset of the given set. +
+
+
+
+ + Member + (NSObject) : NSObject
+ Determines whether the set contains an object equal to a given object + and returns that object if it is present. +
+
+
+
+ + RemoveObject + (NSObject)
+ Removes an object from the set. +
+
+
+
+ + ToObject + () : object
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

(Inherited from NSObject.)
+
+
+
+ + ToXmlPropertyList + () : string
+ Generates a valid XML property list including headers using this object as root. + (Inherited from NSObject.)
+
+
+
+
+
+

Member Details

+
+

NSSet Constructor

+
+
+ Creates an empty unordered set. +
+

Syntax

+
public NSSet ()
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSSet Constructor

+
+
+ Creates a set and fill it with the given objects. +
+

Syntax

+
public NSSet (params NSObject[] objects)
+

Parameters

+
+
+
+ objects +
+
The objects to populate the set.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSSet Constructor

+
+
+ Creates an empty set. +
+

Syntax

+
public NSSet (bool ordered)
+

Parameters

+
+
+
+ ordered +
+
Should the set be ordered on operations?
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSSet Constructor

+
+
+ Creates a set and fill it with the given objects. +
+

Syntax

+
public NSSet (bool ordered, params NSObject[] objects)
+

Parameters

+
+
+
+ ordered +
+
Should the set be ordered on operations?
+
+ objects +
+
The objects to populate the set.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

AddObject Method

+
+
+ Adds an object to the set. +
+

Syntax

+
public void AddObject (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The object to add.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

AllObjects Method

+
+
+ Returns all objects contained in the set. +
+

Syntax

+
public NSObject[] AllObjects ()
+

Returns

+
An array of all objects in the set.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

AnyObject Method

+
+
+ Returns one of the objects in the set, or null + if the set contains no objects. +
+

Syntax

+
public NSObject AnyObject ()
+

Returns

+
The first object in the set, or null if the set is empty.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ContainsObject Method

+
+
+ Finds out whether a given object is contained in the set. +
+

Syntax

+
public bool ContainsObject (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The object to look for.
+
+
+

Returns

+
+ true, when the object was found, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Count Property

+
+
+ Gets the number of elements in the set. +
+

Syntax

+
public int Count { get; }
+

Value

+
The number of elements in the set.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSSet. +
+

Syntax

+
public override bool Equals (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSSet.
+
+
+

Returns

+
+ true if the specified Claunia.PropertyList.NSObject is equal to the current + Claunia.PropertyList.NSSet; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSSet. +
+

Syntax

+
public override bool Equals (object obj)
+

Parameters

+
+
+
+ obj +
+
The object to compare with the current Claunia.PropertyList.NSSet.
+
+
+

Returns

+
+ true if the specified object is equal to the current + Claunia.PropertyList.NSSet; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetEnumerator Method

+
+
+ Returns an enumerator object that lets you iterate over all elements of the set. + This is the equivalent to objectEnumerator in the Cocoa implementation + of NSSet. +
+

Syntax

+
public IEnumerator GetEnumerator ()
+

Returns

+
The iterator for the set.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetHashCode Method

+
+
+ Serves as a hash function for a Claunia.PropertyList.NSSet object. +
+

Syntax

+
public override int GetHashCode ()
+

Returns

+
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

IntersectsSet Method

+
+
+ Finds out whether at least one object is present in both sets. +
+

Syntax

+
public bool IntersectsSet (NSSet otherSet)
+

Parameters

+
+
+
+ otherSet +
+
The other set.
+
+
+

Returns

+
+ true if the intersection of both sets is empty, false otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

IsSubsetOfSet Method

+
+
+ Finds out if this set is a subset of the given set. +
+

Syntax

+
public bool IsSubsetOfSet (NSSet otherSet)
+

Parameters

+
+
+
+ otherSet +
+
The other set.
+
+
+

Returns

+
+ true if all elements in this set are also present in the other set, falseotherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Member Method

+
+
+ Determines whether the set contains an object equal to a given object + and returns that object if it is present. +
+

Syntax

+
public NSObject Member (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The object to look for.
+
+
+

Returns

+
The object if it is present, null otherwise.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

RemoveObject Method

+
+
+ Removes an object from the set. +
+

Syntax

+
public void RemoveObject (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The object to remove.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSString.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSString.html new file mode 100644 index 00000000..4e9edd21 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/NSString.html @@ -0,0 +1,783 @@ + + + Claunia.PropertyList.NSString + + + + + + + +

NSString Class

+

+ A NSString contains a string. +

+
+

Syntax

+
public class NSString : NSObject, IComparable
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + NSObject. +

+

Public Constructors

+
+
+ + + + + + + + + + + +
+
+
+
+
+ + NSString + (string)
+
+ Creates a NSString from a string. +
+
+
+
+
+ + NSString + (byte[], string)
+
+ Creates a NSString from its binary representation. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + Append + (NSString)
+ Appends a string to this string. +
+
+
+
+ + Append + (string)
+ Appends a string to this string. +
+
+
+
+ + CompareTo + (object) : int
+ Compares the current Claunia.PropertyList.NSString to the specified object. +
+
override
+
+ + Equals + (NSObject) : bool
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSString. +
+
abstract
+
+ + Equals + (NSObject) : bool
+ Determines if the specific NSObject is the same as the NSObject overriding this method. + (Inherited from NSObject.)
+
override
+
+ + Equals + (object) : bool
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSString. +
+
+
+
+ + GetContent + () : string
+ Gets this strings content. +
+
override
+
+ + GetHashCode + () : int
+ Serves as a hash function for a Claunia.PropertyList.NSString object. +
+
+
+
+ + Prepend + (NSString)
+ Prepends a string to this string. +
+
+
+
+ + Prepend + (string)
+ Prepends a string to this string. +
+
+
+
+ + SetContent + (string)
+ Sets the contents of this string. +
+
+
+
+ + ToObject + () : object
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

(Inherited from NSObject.)
+
override
+
+ + ToString + () : string
+ The textual representation of this NSString. +
+
+
+
+ + ToXmlPropertyList + () : string
+ Generates a valid XML property list including headers using this object as root. + (Inherited from NSObject.)
+
+
+
+
+
+

Member Details

+
+

NSString Constructor

+
+
+ Creates a NSString from a string. +
+

Syntax

+
public NSString (string text)
+

Parameters

+
+
+
+ text +
+
The string that will be contained in the NSString.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

NSString Constructor

+
+
+ Creates a NSString from its binary representation. +
+

Syntax

+
public NSString (byte[] bytes, string encoding)
+

Parameters

+
+
+
+ bytes +
+
The binary representation.
+
+ encoding +
+
The encoding of the binary representation, the name of a supported charset.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ ArgumentException + The encoding charset is invalid or not supported by the underlying platform.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Append Method

+
+
+ Appends a string to this string. +
+

Syntax

+
public void Append (NSString s)
+

Parameters

+
+
+
+ s +
+
The string to append.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Append Method

+
+
+ Appends a string to this string. +
+

Syntax

+
public void Append (string s)
+

Parameters

+
+
+
+ s +
+
The string to append.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

CompareTo Method

+
+
+ Compares the current Claunia.PropertyList.NSString to the specified object. +
+

Syntax

+
public int CompareTo (object o)
+

Parameters

+
+
+
+ o +
+
Object to compare to the current Claunia.PropertyList.NSString.
+
+
+

Returns

+
A 32-bit signed integer that indicates the lexical relationship between the two comparands.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSString. +
+

Syntax

+
public override bool Equals (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSString.
+
+
+

Returns

+
+ true if the specified Claunia.PropertyList.NSObject is equal to the current + Claunia.PropertyList.NSString; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified object is equal to the current Claunia.PropertyList.NSString. +
+

Syntax

+
public override bool Equals (object obj)
+

Parameters

+
+
+
+ obj +
+
The object to compare with the current Claunia.PropertyList.NSString.
+
+
+

Returns

+
+ true if the specified object is equal to the current + Claunia.PropertyList.NSString; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetContent Method

+
+
+ Gets this strings content. +
+

Syntax

+
public string GetContent ()
+

Returns

+
This NSString as .NET string object.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

GetHashCode Method

+
+
+ Serves as a hash function for a Claunia.PropertyList.NSString object. +
+

Syntax

+
public override int GetHashCode ()
+

Returns

+
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Prepend Method

+
+
+ Prepends a string to this string. +
+

Syntax

+
public void Prepend (NSString s)
+

Parameters

+
+
+
+ s +
+
The string to prepend.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Prepend Method

+
+
+ Prepends a string to this string. +
+

Syntax

+
public void Prepend (string s)
+

Parameters

+
+
+
+ s +
+
The string to prepend.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SetContent Method

+
+
+ Sets the contents of this string. +
+

Syntax

+
public void SetContent (string c)
+

Parameters

+
+
+
+ c +
+
The new content of this string object.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ToString Method

+
+
+ The textual representation of this NSString. +
+

Syntax

+
public override string ToString ()
+

Returns

+
The NSString's contents.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/PropertyListFormatException.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/PropertyListFormatException.html new file mode 100644 index 00000000..b28cc17c --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/PropertyListFormatException.html @@ -0,0 +1,289 @@ + + + Claunia.PropertyList.PropertyListFormatException + + + + + + + +

PropertyListFormatException Class

+

+ A PropertyListFormatException is thrown by the various property list format parsers + when an error in the format of the given property list is encountered. +

+
+

Syntax

+
public class PropertyListFormatException : Exception
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + Exception. +

+

Public Constructors

+
+
+ + + + + + +
+
+
+
+ + + Creates a new exception with the given message. +
+
+
+
+
+
+

Member Details

+
+

PropertyListFormatException Constructor

+
+
+ Creates a new exception with the given message. +
+

Syntax

+
public PropertyListFormatException (string message)
+

Parameters

+
+
+
+ message +
+
A message containing information about the nature of the exception.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/PropertyListParser.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/PropertyListParser.html new file mode 100644 index 00000000..24e888dd --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/PropertyListParser.html @@ -0,0 +1,1002 @@ + + + Claunia.PropertyList.PropertyListParser + + + + + + + +

PropertyListParser Class

+

+ This class provides methods to parse property lists. It can handle files, + input streams and byte arrays. All known property list formats are supported. + This class also provides methods to save and convert property lists. +

+
+

Syntax

+
public static class PropertyListParser
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + object. +

+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
static
+
+ + ConvertToASCII + (System.IO.FileInfo, System.IO.FileInfo)
+ Converts a given property list file into ASCII format. +
+
static
+
+ + ConvertToBinary + (System.IO.FileInfo, System.IO.FileInfo)
+ Converts a given property list file into the OS X and iOS binary format. +
+
static
+
+ + ConvertToGnuStepASCII + (System.IO.FileInfo, System.IO.FileInfo)
+ Converts a given property list file into GnuStep ASCII format. +
+
static
+
+ + ConvertToXml + (System.IO.FileInfo, System.IO.FileInfo)
+ Converts a given property list file into the OS X and iOS XML format. +
+
static
+
+ + Parse + (byte[]) : NSObject
+ Parses a property list from a byte array. +
+
static
+
+ + Parse + (System.IO.FileInfo) : NSObject
+ Parses a property list from a file. +
+
static
+
+ + Parse + (System.IO.Stream) : NSObject
+ Parses a property list from an Stream. +
+
static
+
+ + Parse + (string) : NSObject
+ Parses a property list from a file. +
+
static
+
+ + SaveAsASCII + (NSArray, System.IO.FileInfo)
+ Saves a property list with the given object as root into a ASCII file. +
+
static
+
+ + SaveAsASCII + (NSDictionary, System.IO.FileInfo)
+ Saves a property list with the given object as root into a ASCII file. +
+
static
+
+ + SaveAsBinary + (NSObject, System.IO.FileInfo)
+ Saves a property list with the given object as root into a binary file. +
+
static
+
+ + SaveAsBinary + (NSObject, System.IO.Stream)
+ Saves a property list with the given object as root in binary format into an output stream. +
+
static
+
+ + SaveAsGnuStepASCII + (NSArray, System.IO.FileInfo)
+ Saves a property list with the given object as root into a GnuStep ASCII file. +
+
static
+
+ + SaveAsGnuStepASCII + (NSDictionary, System.IO.FileInfo)
+ Saves a property list with the given object as root into a GnuStep ASCII file. +
+
static
+
+ + SaveAsXml + (NSObject, System.IO.FileInfo)
+ Saves a property list with the given object as root into a XML file. +
+
static
+
+ + SaveAsXml + (NSObject, System.IO.Stream)
+ Saves a property list with the given object as root in XML format into an output stream. +
+
+
+
+
+
+

Member Details

+
+

ConvertToASCII Method

+
+
+ Converts a given property list file into ASCII format. +
+

Syntax

+
public static void ConvertToASCII (System.IO.FileInfo inFile, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ inFile +
+
The source file.
+
+ outFile +
+
The target file.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ConvertToBinary Method

+
+
+ Converts a given property list file into the OS X and iOS binary format. +
+

Syntax

+
public static void ConvertToBinary (System.IO.FileInfo inFile, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ inFile +
+
The source file.
+
+ outFile +
+
The target file.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ConvertToGnuStepASCII Method

+
+
+ Converts a given property list file into GnuStep ASCII format. +
+

Syntax

+
public static void ConvertToGnuStepASCII (System.IO.FileInfo inFile, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ inFile +
+
The source file.
+
+ outFile +
+
The target file.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

ConvertToXml Method

+
+
+ Converts a given property list file into the OS X and iOS XML format. +
+

Syntax

+
public static void ConvertToXml (System.IO.FileInfo inFile, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ inFile +
+
The source file.
+
+ outFile +
+
The target file.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses a property list from a byte array. +
+

Syntax

+
public static NSObject Parse (byte[] bytes)
+

Parameters

+
+
+
+ bytes +
+
The property list data as a byte array.
+
+
+

Returns

+
The root object in the property list. This is usually a NSDictionary but can also be a NSArray.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses a property list from a file. +
+

Syntax

+
public static NSObject Parse (System.IO.FileInfo f)
+

Parameters

+
+
+
+ f +
+
The property list file.
+
+
+

Returns

+
The root object in the property list. This is usually a NSDictionary but can also be a NSArray.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses a property list from an Stream. +
+

Syntax

+
public static NSObject Parse (System.IO.Stream fs)
+

Parameters

+
+
+
+ fs +
+
The Stream delivering the property list data.
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses a property list from a file. +
+

Syntax

+
public static NSObject Parse (string filePath)
+

Parameters

+
+
+
+ filePath +
+
Path to the property list file.
+
+
+

Returns

+
The root object in the property list. This is usually a NSDictionary but can also be a NSArray.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SaveAsASCII Method

+
+
+ Saves a property list with the given object as root into a ASCII file. +
+

Syntax

+
public static void SaveAsASCII (NSArray root, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ root +
+
The root object.
+
+ outFile +
+
The output file.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + When an error occurs during the writing process.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SaveAsASCII Method

+
+
+ Saves a property list with the given object as root into a ASCII file. +
+

Syntax

+
public static void SaveAsASCII (NSDictionary root, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ root +
+
The root object.
+
+ outFile +
+
The output file.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + When an error occurs during the writing process.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SaveAsBinary Method

+
+
+ Saves a property list with the given object as root into a binary file. +
+

Syntax

+
public static void SaveAsBinary (NSObject root, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ root +
+
The root object.
+
+ outFile +
+
The output file.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + When an error occurs during the writing process.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SaveAsBinary Method

+
+
+ Saves a property list with the given object as root in binary format into an output stream. +
+

Syntax

+
public static void SaveAsBinary (NSObject root, System.IO.Stream outStream)
+

Parameters

+
+
+
+ root +
+
The root object.
+
+ outStream +
+
The output stream.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + When an error occurs during the writing process.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SaveAsGnuStepASCII Method

+
+
+ Saves a property list with the given object as root into a GnuStep ASCII file. +
+

Syntax

+
public static void SaveAsGnuStepASCII (NSArray root, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ root +
+
The root object.
+
+ outFile +
+
The output file.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + When an error occurs during the writing process.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SaveAsGnuStepASCII Method

+
+
+ Saves a property list with the given object as root into a GnuStep ASCII file. +
+

Syntax

+
public static void SaveAsGnuStepASCII (NSDictionary root, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ root +
+
The root object.
+
+ outFile +
+
The output file.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + When an error occurs during the writing process.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SaveAsXml Method

+
+
+ Saves a property list with the given object as root into a XML file. +
+

Syntax

+
public static void SaveAsXml (NSObject root, System.IO.FileInfo outFile)
+

Parameters

+
+
+
+ root +
+
The root object.
+
+ outFile +
+
The output file.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + When an error occurs during the writing process.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

SaveAsXml Method

+
+
+ Saves a property list with the given object as root in XML format into an output stream. +
+

Syntax

+
public static void SaveAsXml (NSObject root, System.IO.Stream outStream)
+

Parameters

+
+
+
+ root +
+
The root object.
+
+ outStream +
+
The output stream.
+
+
+

Exceptions

+
+ + + + + + + + + +
TypeReason
+ System.IO.IOException + When an error occurs during the writing process.
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/UID.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/UID.html new file mode 100644 index 00000000..0d5656f6 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/UID.html @@ -0,0 +1,445 @@ + + + Claunia.PropertyList.UID + + + + + + + +

UID Class

+

+ An UID. Only found in binary property lists that are keyed archives. +

+
+

Syntax

+
public class UID : NSObject
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + NSObject. +

+

Public Constructors

+
+
+ + + + + + +
+
+
+
+
+ + UID + (string, byte[])
+
+ Initializes a new instance of the Claunia.PropertyList.UID class. +
+
+
+

Public Properties

+
+
+ + + + + + + + + + + +
[read-only]
+ + Bytes + + + + byte[]. + Gets the bytes. +
[read-only]
+ + Name + + + + string + . + Gets the name. +
+
+
+

Public Methods

+
+
+ + + + + + + + + + + + + + + + + +
+
override
+
+ + Equals + (NSObject) : bool
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.UID. +
+
abstract
+
+ + Equals + (NSObject) : bool
+ Determines if the specific NSObject is the same as the NSObject overriding this method. + (Inherited from NSObject.)
+
+
+
+ + ToObject + () : object
+ Converts this NSObject into an equivalent object + of the .NET Runtime Environment. +

Claunia.PropertyList.NSArray objects are converted to arrays.

Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.

Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.

Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).

Claunia.PropertyList.NSString objects are converted to string objects.

Claunia.PropertyList.NSData objects are converted to byte arrays.

Claunia.PropertyList.NSDate objects are converted to DateTime objects.

Claunia.PropertyList.UID objects are converted to byte arrays.

(Inherited from NSObject.)
+
+
+
+ + ToXmlPropertyList + () : string
+ Generates a valid XML property list including headers using this object as root. + (Inherited from NSObject.)
+
+
+
+
+
+

Member Details

+
+

UID Constructor

+
+
+ Initializes a new instance of the Claunia.PropertyList.UID class. +
+

Syntax

+
public UID (string name, byte[] bytes)
+

Parameters

+
+
+
+ name +
+
Name.
+
+ bytes +
+
Bytes.
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Bytes Property

+
+
+ Gets the bytes. +
+

Syntax

+
public byte[] Bytes { get; }
+

Value

+
The bytes.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Equals Method

+
+
+ Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.UID. +
+

Syntax

+
public override bool Equals (NSObject obj)
+

Parameters

+
+
+
+ obj +
+
The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.UID.
+
+
+

Returns

+
+ true if the specified Claunia.PropertyList.NSObject is equal to the current + Claunia.PropertyList.UID; otherwise, false.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Name Property

+
+
+ Gets the name. +
+

Syntax

+
public string Name { get; }
+

Value

+
The name.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/XmlPropertyListParser.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/XmlPropertyListParser.html new file mode 100644 index 00000000..bbb5271c --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/XmlPropertyListParser.html @@ -0,0 +1,362 @@ + + + Claunia.PropertyList.XmlPropertyListParser + + + + + + + +

XmlPropertyListParser Class

+

+ Parses XML property lists. +

+
+

Syntax

+
public static class XmlPropertyListParser
+
+
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+

Members

+
+

+ See Also: Inherited members from + object. +

+

Public Methods

+
+
+ + + + + + + + + + + + + +
+
static
+
+ + Parse + (byte[]) : NSObject
+ Parses a XML property list from a byte array. +
+
static
+
+ + Parse + (System.IO.FileInfo) : NSObject
+ Parses a XML property list file. +
+
static
+
+ + Parse + (System.IO.Stream) : NSObject
+ Parses a XML property list from an input stream. +
+
+
+
+
+
+

Member Details

+
+

Parse Method

+
+
+ Parses a XML property list from a byte array. +
+

Syntax

+
public static NSObject Parse (byte[] bytes)
+

Parameters

+
+
+
+ bytes +
+
The byte array containing the property list's data.
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses a XML property list file. +
+

Syntax

+
public static NSObject Parse (System.IO.FileInfo f)
+

Parameters

+
+
+
+ f +
+
The XML property list file.
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+

Parse Method

+
+
+ Parses a XML property list from an input stream. +
+

Syntax

+
public static NSObject Parse (System.IO.Stream str)
+

Parameters

+
+
+
+ str +
+
The input stream pointing to the property list's data.
+
+
+

Returns

+
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.
+

Remarks

+
+ Documentation for this section has not yet been entered. +
+

Requirements

+
+ Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/index.html b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/index.html new file mode 100644 index 00000000..8f340908 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/Claunia.PropertyList/index.html @@ -0,0 +1,394 @@ + + + plist-cil + + + + + +
+ plist-cil +
+

Claunia.PropertyList Namespace

+

+

+
+
+
+

Namespace

+

+ Documentation for this section has not yet been entered. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeDescription
+ ASCIIPropertyListParser + +

+ Parser for ASCII property lists. Supports Apple OS X/iOS and GnuStep/NeXTSTEP format. + This parser is based on the recursive descent paradigm, but the underlying grammar + is not explicitely defined. +

+

+ Resources on ASCII property list format: +

+

+ https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html +

+

+ Property List Programming Guide - Old-Style ASCII Property Lists +

+

+ http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html +

+

+ GnuStep - NSPropertyListSerialization class documentation +

+
+ BinaryPropertyListParser + +

+ Parses property lists that are in Apple's binary format. + Use this class when you are sure about the format of the property list. + Otherwise use the PropertyListParser class. +

+

+ Parsing is done by calling the static Claunia.PropertyList.BinaryPropertyListParser.Parse(Byte[]), + Claunia.PropertyList.BinaryPropertyListParser.Parse(System.IO.FileInfo) and Claunia.PropertyList.BinaryPropertyListParser.Parse(System.IO.Stream) methods. +

+
+ BinaryPropertyListWriter + +

+ A BinaryPropertyListWriter is a helper class for writing out + binary property list files. +

+

+ It contains an output stream and various structures for keeping track + of which NSObjects have already been serialized, and where they were + put in the file. +

+
+ NSArray + + Represents an Array. +
+ NSData + + NSData objects are wrappers for byte buffers +
+ NSDate + + Represents a date +
+ NSDictionary + +

+ A NSDictionary is a collection of keys and values, essentially a Dictionary. + The keys are simple Strings whereas the values can be any kind of NSObject. +

+

+ You can access the keys through the function Claunia.PropertyList.NSDictionary.Keys. +

+

+ Access to the objects stored for each key is given through the function + Claunia.PropertyList.NSDictionary.ObjectForKey(string). +

+
+ NSNumber + + A number whose value is either an integer, a real number or bool. +
+ NSObject + +

+ Abstract interface for any object contained in a property list. +

+

+ The names and functions of the various objects orient themselves + towards Apple's Cocoa API. +

+
+ NSSet + +

+ A set is an interface to an unordered collection of objects. +

+

+ This implementation uses a List`1as the underlying + data structure. +

+
+ NSString + + A NSString contains a string. +
+ PropertyListFormatException + + A PropertyListFormatException is thrown by the various property list format parsers + when an error in the format of the given property list is encountered. +
+ PropertyListParser + + This class provides methods to parse property lists. It can handle files, + input streams and byte arrays. All known property list formats are supported. + This class also provides methods to save and convert property lists. +
+ UID + + An UID. Only found in binary property lists that are keyed archives. +
+ XmlPropertyListParser + + Parses XML property lists. +
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/html/index.html b/DiscImageChef.DiscImages/docs/html/index.html new file mode 100644 index 00000000..bfc4b8d1 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/html/index.html @@ -0,0 +1,398 @@ + + + plist-cil + + + + + +
+
+

plist-cil

+

+

+ Documentation for this section has not yet been entered. +
+

+
+
+
+

+ Claunia.PropertyList Namespace +

+

+ Documentation for this section has not yet been entered. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeDescription
+ ASCIIPropertyListParser + +

+ Parser for ASCII property lists. Supports Apple OS X/iOS and GnuStep/NeXTSTEP format. + This parser is based on the recursive descent paradigm, but the underlying grammar + is not explicitely defined. +

+

+ Resources on ASCII property list format: +

+

+ https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html +

+

+ Property List Programming Guide - Old-Style ASCII Property Lists +

+

+ http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html +

+

+ GnuStep - NSPropertyListSerialization class documentation +

+
+ BinaryPropertyListParser + +

+ Parses property lists that are in Apple's binary format. + Use this class when you are sure about the format of the property list. + Otherwise use the PropertyListParser class. +

+

+ Parsing is done by calling the static Claunia.PropertyList.BinaryPropertyListParser.Parse(Byte[]), + Claunia.PropertyList.BinaryPropertyListParser.Parse(System.IO.FileInfo) and Claunia.PropertyList.BinaryPropertyListParser.Parse(System.IO.Stream) methods. +

+
+ BinaryPropertyListWriter + +

+ A BinaryPropertyListWriter is a helper class for writing out + binary property list files. +

+

+ It contains an output stream and various structures for keeping track + of which NSObjects have already been serialized, and where they were + put in the file. +

+
+ NSArray + + Represents an Array. +
+ NSData + + NSData objects are wrappers for byte buffers +
+ NSDate + + Represents a date +
+ NSDictionary + +

+ A NSDictionary is a collection of keys and values, essentially a Dictionary. + The keys are simple Strings whereas the values can be any kind of NSObject. +

+

+ You can access the keys through the function Claunia.PropertyList.NSDictionary.Keys. +

+

+ Access to the objects stored for each key is given through the function + Claunia.PropertyList.NSDictionary.ObjectForKey(string). +

+
+ NSNumber + + A number whose value is either an integer, a real number or bool. +
+ NSObject + +

+ Abstract interface for any object contained in a property list. +

+

+ The names and functions of the various objects orient themselves + towards Apple's Cocoa API. +

+
+ NSSet + +

+ A set is an interface to an unordered collection of objects. +

+

+ This implementation uses a List`1as the underlying + data structure. +

+
+ NSString + + A NSString contains a string. +
+ PropertyListFormatException + + A PropertyListFormatException is thrown by the various property list format parsers + when an error in the format of the given property list is encountered. +
+ PropertyListParser + + This class provides methods to parse property lists. It can handle files, + input streams and byte arrays. All known property list formats are supported. + This class also provides methods to save and convert property lists. +
+ UID + + An UID. Only found in binary property lists that are keyed archives. +
+ XmlPropertyListParser + + Parses XML property lists. +
+
+
+
+
+ + + \ No newline at end of file diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/ASCIIPropertyListParser.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/ASCIIPropertyListParser.xml new file mode 100644 index 00000000..645358f5 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/ASCIIPropertyListParser.xml @@ -0,0 +1,750 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + System.Object + + + + + + Parser for ASCII property lists. Supports Apple OS X/iOS and GnuStep/NeXTSTEP format. + This parser is based on the recursive descent paradigm, but the underlying grammar + is not explicitely defined. + + + Resources on ASCII property list format: + + + https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html + + + Property List Programming Guide - Old-Style ASCII Property Lists + + + http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html + + + GnuStep - NSPropertyListSerialization class documentation + + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + To be added. + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of NSArray start + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of NSArray end + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of NSArray item delimiter + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for comment start + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of NSData start + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of NSData end + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of GSBoolean start + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for GSBoolen's false + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for GSBoolen's true + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of GSDate start + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for GSInteger + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of GSObject start + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for GSReal + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for NSDate date and time delimiter + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for NSDate end + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for NSDate date field delimited + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for GSDate date and time delimiter + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token for NSDate time field delimiter + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of NSDictionary assignment + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of NSDictionary start + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of NSDictionary end + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of NSDictionary item delimiter + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + End token for multiline comment + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Second token for multiline comment + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + Parses the property list from the beginning and returns the root object + of the property list. + + The root object of the property list. This can either be a NSDictionary or a NSArray. + To be added. + When an error occured during parsing + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The ASCII property list data. + + Parses an ASCII property list from a byte array. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + When an error occurs during parsing. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The ASCII property list file.. + + Parses an ASCII property list file. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + When an error occurs during parsing. + When an error occured while reading from the input stream. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The input stream that points to the property list's data. + + Parses an ASCII property list from an input stream. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + When an error occurs during parsing. + + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + + The escaped string according to the ASCII property list format, without leading and trailing quotation marks. + + Parses a string according to the format specified for ASCII property lists. + Such strings can contain escape sequences which are unescaped in this method. + + The unescaped string in UTF-8 or ASCII format, depending on the contained characters. + To be added. + If the en-/decoder for the UTF-8 or ASCII encoding could not be loaded + If the string is encoded neither in ASCII nor in UTF-8 + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of quoted NSString start + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of quoted NSString end + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Token of quoted NSString escaped character + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + Second token for singleline comment + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + A carriage return + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + A newline + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + A space + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Char + + + + A tabulator + + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/BinaryPropertyListParser.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/BinaryPropertyListParser.xml new file mode 100644 index 00000000..93c83c4b --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/BinaryPropertyListParser.xml @@ -0,0 +1,296 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + System.Object + + + + + + Parses property lists that are in Apple's binary format. + Use this class when you are sure about the format of the property list. + Otherwise use the PropertyListParser class. + + + Parsing is done by calling the static , + and methods. + + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + Protected constructor so that instantiation is fully controlled by the + static parse methods. + + To be added. + + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Byte[] + + + + + + + + The source array. + The index from which to start copying. + The index until which to copy. + + Copies a part of a byte array into a new array. + + The copied array. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The binary property list's data. + + Parses a binary property list from a byte array. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + When the property list's format could not be parsed. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The binary property list file + + Parses a binary property list file. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + When the property list's format could not be parsed. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The input stream that points to the property list's data. + + Parses a binary property list from an input stream. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + When the property list's format could not be parsed. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Double + + + + + + The bytes representing the double. + + Parses a double from a (big-endian) byte array. + + The double represented by the given bytes. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Double + + + + + + + + The bytes representing the double. + Beginning of the double in the byte array. + End of the double in the byte array. + + Parses a double from a (big-endian) byte array. + + The double represented by the given bytes. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int64 + + + + + + The bytes representing the long integer. + + Parses a long from a (big-endian) byte array. + + The long integer represented by the given bytes. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int64 + + + + + + + + The bytes representing the long integer. + Beginning of the long in the byte array. + End of the long in the byte array. + + Parses a long from a (big-endian) byte array. + + The long integer represented by the given bytes. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int64 + + + + + + The unsigned integer represented by the given bytes. + + Parses an unsigned integers from a byte array. + + The byte array containing the unsigned integer. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int64 + + + + + + + + The byte array containing the unsigned integer. + Beginning of the unsigned int in the byte array. + End of the unsigned int in the byte array. + + Parses an unsigned integer from a byte array. + + The unsigned integer represented by the given bytes. + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/BinaryPropertyListWriter.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/BinaryPropertyListWriter.xml new file mode 100644 index 00000000..808803f1 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/BinaryPropertyListWriter.xml @@ -0,0 +1,180 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + System.Object + + + + + + A BinaryPropertyListWriter is a helper class for writing out + binary property list files. + + + It contains an output stream and various structures for keeping track + of which NSObjects have already been serialized, and where they were + put in the file. + + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + 0 + + + Binary property list version 0.0 + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + 10 + + + Binary property list version 1.0 + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + 15 + + + Binary property list version 1.5 + + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + 20 + + + Binary property list version 2.0 + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + the file to write to + the source of the data to write to the file + + Writes a binary plist file with the given object as the root. + + To be added. + + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + the stream to write to + the source of the data to write to the stream + + Writes a binary plist serialization of the given object as the root. + + To be added. + + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Byte[] + + + + + + The root object of the property list + + Writes a binary plist serialization of the given object as the root + into a byte array. + + The byte array containing the serialized property list + To be added. + + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSArray.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSArray.xml new file mode 100644 index 00000000..7bf12514 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSArray.xml @@ -0,0 +1,429 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + Represents an Array. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + System.ParamArray + + + + + + The array which should be wrapped by the NSArray. + + Creates a array from an existing one + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The number of elements this array will be able to hold. + + Creates an empty array of the given length. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The object to look for. + + Checks whether an object is present in the array or whether it is equal + to any of the objects in the array. + + + true, when the object could be found. false otherwise. + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + Returns the size of the array. + + The number of elements that this array can store. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject[] + + + + + Returns the array of NSObjects represented by this NSArray. + Any changes to the values of this array will also affect the NSArray. + + The actual array represented by this NSArray. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + Serves as a hash function for a object. + + A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + + The object to look for. + + Searches for an object in the array. If it is found its index will be + returned. This method only returns the index of an object that is + identical to the given one. Thus objects that might contain the + same value as the given one will not be considered. + + The index of the object, if it was found. -1 otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + + The object to look for. + + Searches for an object in the array. If it is found its index will be + returned. This method also returns an index if the object is not the same + as the one stored in the array but has equal contents. + + The index of the object, if it was found. -1 otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + Returns the last object contained in this array. + + The value of the highest index in the array. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The index of the object. + + Returns the object stored at the given index. + + The object at the given index. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject[] + + + + + + System.ParamArray + + + + + + The indices of the objects. + + Returns a new array containing only the values stored at the given + indices. The values are sorted by their index. + + The new array containing the objects stored at the given indices. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + The index of the object + + Remove the i-th element from the array. + The array will be resized. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The index where to store the object. + The object. + + Stores an object at the specified index. + If there was another object stored at that index it will be replaced. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + + Generates a valid ASCII property list which has this NSArray as its + root object. + + + The generated property list complies with the format as + described in https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html + Property List Programming Guide - Old-Style ASCII Property Lists. + + + ASCII representation of this object. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + + Generates a valid ASCII property list in GnuStep format which has this + NSArray as its root object. + + + The generated property list complies with + the format as described in http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html + GnuStep - NSPropertyListSerialization class documentation. + + + GnuStep ASCII representation of this object. + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSData.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSData.xml new file mode 100644 index 00000000..9f09f95e --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSData.xml @@ -0,0 +1,260 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + NSData objects are wrappers for byte buffers + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The raw data contained in the NSData object. + + Creates the NSData object from the binary representation of it. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The file containing the data. + + Creates a NSData object from a file. Using the files contents as the contents of this NSData object. + + To be added. + If the file could not be found. + If the file could not be read. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The Base64 encoded contents of the NSData object. + + Creates a NSData object from its textual representation, which is a Base64 encoded amount of bytes. + + To be added. + When the given string is not a proper Base64 formatted string. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Byte[] + + + + The bytes contained in this NSData object. + + The data as bytes + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + Gets the Base64 encoded data contained in this NSData object. + + The Base64 encoded data as a string. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The byte buffer which will contain the data + The amount of data to copy + + Loads the bytes from this NSData object into a byte buffer. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + + The byte buffer which will contain the data + The start index. + The stop index. + + Loads the bytes from this NSData object into a byte buffer. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + Serves as a hash function for a object. + + A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table. + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + Gets the amount of data stored in this object. + + The number of bytes contained in this object. + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSDate.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSDate.xml new file mode 100644 index 00000000..b246f8b8 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSDate.xml @@ -0,0 +1,189 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + Represents a date + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + bytes The date bytes + + Creates a date from its binary representation. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The date + + Creates a NSDate from a .NET DateTime + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The textual representation of the date (ISO 8601 format) + + Parses a date from its textual representation. + That representation has the following pattern: yyyy-MM-dd'T'HH:mm:ss'Z' + To be added. + When the date could not be parsed, i.e. it does not match the expected pattern. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.DateTime + + + + Gets the date. + + The date. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + Serves as a hash function for a object. + + A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + Generates a string representation of the date. + + A string representation of the date. + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSDictionary.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSDictionary.xml new file mode 100644 index 00000000..5914242d --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSDictionary.xml @@ -0,0 +1,916 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,Claunia.PropertyList.NSObject>> + + + System.Collections.Generic.IDictionary<System.String,Claunia.PropertyList.NSObject> + + + System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,Claunia.PropertyList.NSObject>> + + + + + + A NSDictionary is a collection of keys and values, essentially a Dictionary. + The keys are simple Strings whereas the values can be any kind of NSObject. + + + You can access the keys through the function . + + + Access to the objects stored for each key is given through the function + . + + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + Creates a new empty NSDictionary. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + Item. + + Adds the specified item. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + Key. + Value. + + Add the specified key and value. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The key. + The value. + + Puts a new key-value pair into this dictionary. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The key. + The value. + + Puts a new key-value pair into this dictionary. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The key. + The value. + + Puts a new key-value pair into this dictionary. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The key. + The value. Supported object types are numbers, byte-arrays, dates, strings and arrays or sets of those. + + Puts a new key-value pair into this dictionary. + If the value is null, no operation will be performed on the dictionary. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + Clears this instance. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + Item. + + Checks if the current instance contains the specified item. + + + true if it is found, false otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + Key. + + Checks if the specified object key is contained in the current instance. + + + true, if key is contained, false otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + Key. + + Checks if there is any item contained in the current instance corresponding with the specified key. + + + true, if key was contained, false otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + Key. + + Checks if there is any item contained in the current instance corresponding with the specified value. + + + true, if value is contained, false otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The value that will be searched for. + + Checks whether a given value is contained in this dictionary. + + Whether the key is contained in this dictionary. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The value that will be searched for. + + Checks whether a given value is contained in this dictionary. + + Whether the key is contained in this dictionary. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The value that will be searched for. + + Checks whether a given value is contained in this dictionary. + + Whether the key is contained in this dictionary. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The value that will be searched for. + + Checks whether a given value is contained in this dictionary. + + Whether the key is contained in this dictionary. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The value that will be searched for. + + Checks whether a given value is contained in this dictionary. + + Whether the key is contained in this dictionary. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + Object to search up in the current instance. + + Checks if the current instance contains the object corresponding to the specified key. + + + true, if value is contained, false otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The value that will be searched for. + + Checks whether a given value is contained in this dictionary. + + Whether the key is contained in this dictionary. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in array at which copying begins. + + Copies the elements to an existing one-dimensional , starting at the specified array index. + + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + Gets the count of items in the current instance. + + How many items are contained in the current instance. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + Key. + + Gets the corresponding to the specified key from the current instance. + + The object corresponding to the specified key, null if not found in the current instance. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Collections.Generic.Dictionary<System.String,Claunia.PropertyList.NSObject> + + + + + Gets the hashmap which stores the keys and values of this dictionary. + Changes to the hashmap's contents are directly reflected in this + dictionary. + + The hashmap which is used by this dictionary to store its contents. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String,Claunia.PropertyList.NSObject>> + + + + + Gets the enumerator. + + The enumerator. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + Serves as a hash function for a object. + + A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table. + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + Gets a value indicating whether this instance is empty. + + + true if this instance is empty; otherwise, false. + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + Index. + + Gets or sets the at the specified index. + + To be added. + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Collections.Generic.ICollection<System.String> + + + + Gets an array with all the keys contained in the current instance. + + The keys. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The key. + + Gets the NSObject stored for the given key. + + The object. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + Item to remove. + + Removes the specified item. + + + true if successfully removed, false if not, or if item is not in current instance. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + Key. + + Removes the item corresponding to the specified key from the current instance, if found. + + + true, if removed, false otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + Key. + + Removes the item belonging to the specified key. + + To be added. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Collections.IEnumerator + + + + To be added. + To be added. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + Generates a valid ASCII property list which has this NSDictionary as its + root object. The generated property list complies with the format as + described in https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html + Property List Programming Guide - Old-Style ASCII Property Lists. + + ASCII representation of this object. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + Generates a valid ASCII property list in GnuStep format which has this + NSDictionary as its root object. The generated property list complies with + the format as described in http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html + GnuStep - NSPropertyListSerialization class documentation. + + GnuStep ASCII representation of this object. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + + Key. + Where to store the value. + + Tries to get the item corresponding to the specified key + + + true, if get value was successfully found and retrieved, false otherwise. + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Collections.Generic.ICollection<Claunia.PropertyList.NSObject> + + + + Gets an array with all the objects contained in the current instance. + + The objects. + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSNumber.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSNumber.xml new file mode 100644 index 00000000..5570a43d --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSNumber.xml @@ -0,0 +1,507 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + System.IComparable + + + + + A number whose value is either an integer, a real number or bool. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The bool value. + + Creates a bool number. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The real value. + + Creates a real number. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The integer value. + + Creates an integer number. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The long integer value. + + Creates an integer number. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The textual representation of the number. + + Creates a number from its textual representation. + + To be added. + + + + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + + The binary representation + The type of number + + Parses integers and real numbers from their binary representation. + Note: real numbers are not yet supported. + To be added. + + + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + 2 + + + Indicates that the number's value is bool. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + + Object to compare to the current . + + Compares the current to the specified object. + + 0 if the numbers are equal, 1 if the current is greater + than the argument and -1 if it is less, or the argument is not a number. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The object to compare to. + + Checks whether the other object is a NSNumber of the same value. + + Whether the objects are equal in terms of numeric value and type. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Single + + + + + The number's float value. + WARNING: Possible loss of precision if the value is outside the float range. + + The value of the number as float. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + Serves as a hash function for a object. + + A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + Gets the type of this number's value. + + The type flag. + To be added. + + + + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + 0 + + + Indicates that the number's value is an integer. + The number is stored as a .NET . + Its original value could have been char, short, int, long or even long long. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + Checks whether the value of this NSNumber is a bool. + + Whether the number's value is a bool. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + Checks whether the value of this NSNumber is an integer. + + Whether the number's value is an integer. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + Checks whether the value of this NSNumber is a real number. + + Whether the number's value is a real number. + To be added. + + + + + + Field + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + 1 + + + Indicates that the number's value is a real number. + The number is stored as a .NET . + Its original value could have been float or double. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + The number's bool value. + + + true if the value is true or non-zero, false otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Double + + + + + The number's double value. + + The value of the number as double. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + The number's int value. + Note: Even though the number's type might be INTEGER it can be larger than a Java int. + Use intValue() only if you are certain that it contains a number from the int range. + Otherwise the value might be innaccurate. + The value of the number as int. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int64 + + + + + The number's long value. + + The value of the number as long + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + Returns a that represents the current . + + A that represents the current . + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSObject.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSObject.xml new file mode 100644 index 00000000..d00aa7a1 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSObject.xml @@ -0,0 +1,339 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + System.Object + + + + + + Abstract interface for any object contained in a property list. + + + The names and functions of the various objects orient themselves + towards Apple's Cocoa API. + + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + To be added. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines if the specific NSObject is the same as the NSObject overriding this method. + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Object + + + + + Converts this NSObject into an equivalent object + of the .NET Runtime Environment. + objects are converted to arrays. objects are converted to objects extending the class. objects are converted to objects extending the class. objects are converted to primitive number values (, , or ). objects are converted to objects. objects are converted to arrays. objects are converted to objects. objects are converted to arrays. + A native .NET object representing this NSObject's value. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + Generates a valid XML property list including headers using this object as root. + + The XML representation of the property list including XML header and doctype information. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSNumber + + + + + + The value to represent as a NSObject. + + Wraps the given value inside a NSObject. + + A NSObject representing the given value. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSData + + + + + + The value to represent as a NSObject. + + Wraps the given value inside a NSObject. + + A NSObject representing the given value. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSDictionary + + + + + + The value to represent as a NSObject. + + Creates a NSDictionary with the contents of the given map. + + A NSObject representing the given value. + To be added. + When one of the values contained in the map cannot be represented by a NSObject. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSSet + + + + + + The value to represent as a NSObject. + + Creates a NSSet with the contents of this set. + + A NSObject representing the given value. + To be added. + When one of the values contained in the map cannot be represented by a NSObject. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSNumber + + + + + + The value to represent as a NSObject. + + Wraps the given value inside a NSObject. + + A NSObject representing the given value. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSNumber + + + + + + The value to represent as a NSObject. + + Wraps the given value inside a NSObject. + + A NSObject representing the given value. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The object to represent. + + + Creates a NSObject representing the given .NET Object. + + + Numerics of type , , , , , or are wrapped as NSNumber objects. + + + Strings are wrapped as objects and byte arrays as objects. + + + DateTime objects are wrapped as objects. + + + Serializable classes are serialized and their data is stored in objects. + + + Arrays and Collection objects are converted to where each array member is wrapped into a . + + + Dictionaries are converted to . Each key is converted to a string and each value wrapped into a . + + + A NSObject equivalent to the given object. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSArray + + + + + + The value to represent as a NSObject. + + Creates a NSArray with the contents of the given array. + + A NSObject representing the given value. + To be added. + When one of the objects contained in the array cannot be represented by a NSObject. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSData + + + + + + The object to serialize and wrap. + + Serializes the given object using Java's default object serialization + and wraps the serialized object in a NSData object. + + A NSData object + To be added. + When the object could not be serialized. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSSet.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSSet.xml new file mode 100644 index 00000000..6c843a77 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSSet.xml @@ -0,0 +1,411 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + System.Collections.IEnumerable + + + + + + A set is an interface to an unordered collection of objects. + + + This implementation uses a as the underlying + data structure. + + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + Creates an empty unordered set. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + System.ParamArray + + + + + + The objects to populate the set. + + Creates a set and fill it with the given objects. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + Should the set be ordered on operations? + + Creates an empty set. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + + System.ParamArray + + + + + + Should the set be ordered on operations? + The objects to populate the set. + + Creates a set and fill it with the given objects. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + The object to add. + + Adds an object to the set. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject[] + + + + + Returns all objects contained in the set. + + An array of all objects in the set. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + Returns one of the objects in the set, or null + if the set contains no objects. + + The first object in the set, or null if the set is empty. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The object to look for. + + Finds out whether a given object is contained in the set. + + + true, when the object was found, false otherwise. + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + Gets the number of elements in the set. + + The number of elements in the set. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Collections.IEnumerator + + + + + Returns an enumerator object that lets you iterate over all elements of the set. + This is the equivalent to objectEnumerator in the Cocoa implementation + of NSSet. + + The iterator for the set. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + Serves as a hash function for a object. + + A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The other set. + + Finds out whether at least one object is present in both sets. + + + true if the intersection of both sets is empty, false otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The other set. + + Finds out if this set is a subset of the given set. + + + true if all elements in this set are also present in the other set, falseotherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The object to look for. + + Determines whether the set contains an object equal to a given object + and returns that object if it is present. + + The object if it is present, null otherwise. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + The object to remove. + + Removes an object from the set. + + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSString.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSString.xml new file mode 100644 index 00000000..76c55cce --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/NSString.xml @@ -0,0 +1,310 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + System.IComparable + + + + + A NSString contains a string. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + The string that will be contained in the NSString. + + Creates a NSString from a string. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + + The binary representation. + The encoding of the binary representation, the name of a supported charset. + + Creates a NSString from its binary representation. + + To be added. + The encoding charset is invalid or not supported by the underlying platform. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + The string to append. + + Appends a string to this string. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + The string to append. + + Appends a string to this string. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + + Object to compare to the current . + + Compares the current to the specified object. + + A 32-bit signed integer that indicates the lexical relationship between the two comparands. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + Gets this strings content. + + This NSString as .NET string object. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Int32 + + + + + Serves as a hash function for a object. + + A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a + hash table. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + The string to prepend. + + Prepends a string to this string. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + The string to prepend. + + Prepends a string to this string. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + The new content of this string object. + + Sets the contents of this string. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + + The textual representation of this NSString. + + The NSString's contents. + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/PropertyListFormatException.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/PropertyListFormatException.xml new file mode 100644 index 00000000..0f64bebb --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/PropertyListFormatException.xml @@ -0,0 +1,41 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + System.Exception + + + + + A PropertyListFormatException is thrown by the various property list format parsers + when an error in the format of the given property list is encountered. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + A message containing information about the nature of the exception. + + Creates a new exception with the given message. + + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/PropertyListParser.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/PropertyListParser.xml new file mode 100644 index 00000000..dd7ece77 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/PropertyListParser.xml @@ -0,0 +1,411 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + System.Object + + + + + This class provides methods to parse property lists. It can handle files, + input streams and byte arrays. All known property list formats are supported. + This class also provides methods to save and convert property lists. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The source file. + The target file. + + Converts a given property list file into ASCII format. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The source file. + The target file. + + Converts a given property list file into the OS X and iOS binary format. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The source file. + The target file. + + Converts a given property list file into GnuStep ASCII format. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The source file. + The target file. + + Converts a given property list file into the OS X and iOS XML format. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The property list data as a byte array. + + Parses a property list from a byte array. + + The root object in the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The property list file. + + Parses a property list from a file. + + The root object in the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The Stream delivering the property list data. + + Parses a property list from an Stream. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + Path to the property list file. + + Parses a property list from a file. + + The root object in the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The root object. + The output file. + + Saves a property list with the given object as root into a ASCII file. + + To be added. + When an error occurs during the writing process. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The root object. + The output file. + + Saves a property list with the given object as root into a ASCII file. + + To be added. + When an error occurs during the writing process. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The root object. + The output file. + + Saves a property list with the given object as root into a binary file. + + To be added. + When an error occurs during the writing process. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The root object. + The output stream. + + Saves a property list with the given object as root in binary format into an output stream. + + To be added. + When an error occurs during the writing process. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The root object. + The output file. + + Saves a property list with the given object as root into a GnuStep ASCII file. + + To be added. + When an error occurs during the writing process. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The root object. + The output file. + + Saves a property list with the given object as root into a GnuStep ASCII file. + + To be added. + When an error occurs during the writing process. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The root object. + The output file. + + Saves a property list with the given object as root into a XML file. + + To be added. + When an error occurs during the writing process. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Void + + + + + + + The root object. + The output stream. + + Saves a property list with the given object as root in XML format into an output stream. + + To be added. + When an error occurs during the writing process. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/UID.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/UID.xml new file mode 100644 index 00000000..d6b7abf3 --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/UID.xml @@ -0,0 +1,105 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + An UID. Only found in binary property lists that are keyed archives. + + To be added. + + + + + + Constructor + + 1.13.0.0 + 1.14.0.0 + + + + + + + Name. + Bytes. + + Initializes a new instance of the class. + + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.Byte[] + + + + Gets the bytes. + + The bytes. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + System.Boolean + + + + + + The to compare with the current . + + Determines whether the specified is equal to the current . + + + true if the specified is equal to the current + ; otherwise, false. + To be added. + + + + + + Property + + 1.13.0.0 + 1.14.0.0 + + + System.String + + + + Gets the name. + + The name. + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/XmlPropertyListParser.xml b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/XmlPropertyListParser.xml new file mode 100644 index 00000000..7b23256d --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/Claunia.PropertyList/XmlPropertyListParser.xml @@ -0,0 +1,90 @@ + + + + + plist-cil + 1.13.0.0 + 1.14.0.0 + + + System.Object + + + + + Parses XML property lists. + + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The byte array containing the property list's data. + + Parses a XML property list from a byte array. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The XML property list file. + + Parses a XML property list file. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + + + + + + Method + + 1.13.0.0 + 1.14.0.0 + + + Claunia.PropertyList.NSObject + + + + + + The input stream pointing to the property list's data. + + Parses a XML property list from an input stream. + + The root object of the property list. This is usually a NSDictionary but can also be a NSArray. + To be added. + + + + diff --git a/DiscImageChef.DiscImages/docs/mono/index.xml b/DiscImageChef.DiscImages/docs/mono/index.xml new file mode 100644 index 00000000..ca43462a --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/index.xml @@ -0,0 +1,54 @@ + + + + + + System.Reflection.AssemblyCompany("Claunia.com") + + + System.Reflection.AssemblyConfiguration("") + + + System.Reflection.AssemblyCopyright("© Claunia.com") + + + System.Reflection.AssemblyDescription("") + + + System.Reflection.AssemblyProduct("") + + + System.Reflection.AssemblyTitle("plist-cil") + + + System.Reflection.AssemblyTrademark("") + + + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) + + + + + To be added. + To be added. + + + + + + + + + + + + + + + + + + + + plist-cil + diff --git a/DiscImageChef.DiscImages/docs/mono/ns-Claunia.PropertyList.xml b/DiscImageChef.DiscImages/docs/mono/ns-Claunia.PropertyList.xml new file mode 100644 index 00000000..2306997b --- /dev/null +++ b/DiscImageChef.DiscImages/docs/mono/ns-Claunia.PropertyList.xml @@ -0,0 +1,6 @@ + + + To be added. + To be added. + + diff --git a/DiscImageChef.DiscImages/packages.config b/DiscImageChef.DiscImages/packages.config new file mode 100644 index 00000000..2164a694 --- /dev/null +++ b/DiscImageChef.DiscImages/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/DiscImageChef.sln b/DiscImageChef.sln index f4ea8624..84737e15 100644 --- a/DiscImageChef.sln +++ b/DiscImageChef.sln @@ -31,6 +31,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLine", "commandline\ EndProject Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "Packages", "Packages.mdproj", "{E6A65405-997F-4D37-869B-8B97304C5DD6}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Claunia.RsrcFork", "Claunia.RsrcFork\Claunia.RsrcFork\Claunia.RsrcFork.csproj", "{CA231ED3-0C78-496C-AAFE-D085F6E9BEC6}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x86 = Debug|x86 @@ -95,6 +97,10 @@ Global {E1BD3C65-49C3-49E7-BABA-C60980CB3F20}.Release|x86.Build.0 = Release|Any CPU {E6A65405-997F-4D37-869B-8B97304C5DD6}.Debug|x86.ActiveCfg = Debug|Any CPU {E6A65405-997F-4D37-869B-8B97304C5DD6}.Release|x86.ActiveCfg = Release|Any CPU + {CA231ED3-0C78-496C-AAFE-D085F6E9BEC6}.Debug|x86.ActiveCfg = Debug|Any CPU + {CA231ED3-0C78-496C-AAFE-D085F6E9BEC6}.Debug|x86.Build.0 = Debug|Any CPU + {CA231ED3-0C78-496C-AAFE-D085F6E9BEC6}.Release|x86.ActiveCfg = Release|Any CPU + {CA231ED3-0C78-496C-AAFE-D085F6E9BEC6}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution Policies = $0 diff --git a/README.md b/README.md index dbc2d547..5462fc15 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ Supported disk image formats * VirtualBox Disk Image (VDI) * Microsoft VHDX * VMware VMDK and COWD images +* Apple Universal Disk Image Format (UDIF), including obsolete (previous than DiskCopy 6) versions Supported partitioning schemes ============================== diff --git a/TODO b/TODO index ab22c388..28e55493 100644 --- a/TODO +++ b/TODO @@ -7,7 +7,6 @@ --- Add support for DiscFerret images --- Add support for MAME CHDs --- Add support for Apple NDIF images ---- Add support for Apple UDIF images --- Add support for XPACK images Filesystem plugins: @@ -66,4 +65,7 @@ QCOW plugin: VMDK plugin: --- Add support for compressed extents ---- Add support for encrypted extents \ No newline at end of file +--- Add support for encrypted extents + +UDIF plugin: +--- Add support for compressed chunks \ No newline at end of file