public static FetchResultRange Deserialize(IPCReader reader) => new FetchResultRange { FilePath = reader.ReadLengthPrefixedStringArray(), BinaryOutput = reader.ReadBoolean(), ByteOffset = reader.ReadInt32(), ByteCount = reader.ReadInt32(), OutputOffset = reader.ReadInt32() };
public static Execute Deserialize(IPCReader reader) => new Execute { WorkingDirectory = reader.ReadString(), Executable = reader.ReadString(), Arguments = reader.ReadString(), RunAsAdministrator = reader.ReadBoolean(), ExecutionTimeoutSecs = reader.ReadInt32() };
public static ExecutionTimedOutActionCommand Deserialize(IPCReader reader) => new ExecutionTimedOutActionCommand { TerminateProcesses = reader.ReadBoolean() };
public static GetFilesCommand Deserialize(IPCReader reader) => new GetFilesCommand { UseCompression = reader.ReadBoolean(), RootPath = reader.ReadString(), Paths = reader.ReadLengthPrefixedStringArray() };
public static ListFilesCommand Deserialize(IPCReader reader) => new ListFilesCommand { Path = reader.ReadString(), IncludeSubdirectories = reader.ReadBoolean() };
public static PutDirectoryCommand Deserialize(IPCReader reader) => new PutDirectoryCommand { Files = reader.ReadLengthPrefixedFileArray(), Path = reader.ReadString(), PreserveTimestamps = reader.ReadBoolean() };
public static FetchMetadata Deserialize(IPCReader reader) => new FetchMetadata { FilePath = reader.ReadLengthPrefixedStringArray(), BinaryOutput = reader.ReadBoolean() };