public FindFormatResult(ArchiveFormatInfo format, int offset) { this.Format = format; this.Offset = offset; this.FindSource = FindFormatSource.Content; }
private string Write39_FindFormatSource(FindFormatSource v) { switch (v) { case FindFormatSource.Content: return "Content"; case FindFormatSource.Extension: return "Extension"; } return XmlSerializationWriter.FromEnum((long) v, new string[] { "Content", "Extension" }, new long[] { 1L, 2L }, "Nomad.FileSystem.Archive.Common.FindFormatSource"); }
public FindFormatResult(ArchiveFormatInfo format, FindFormatSource source) { this.Format = format; this.Offset = -1; this.FindSource = source; }