public static ScoredItem <EAuditSettings> ParseAuditSettings(BinaryReader reader) { EAuditSettings value = (EAuditSettings)reader.ReadInt32(); bool isScored = reader.ReadBoolean(); ScoredItem <EAuditSettings> scoredItem = new ScoredItem <EAuditSettings>(value, isScored); return(scoredItem); }
public void SetFromScoredItem(ScoredItem <EAuditSettings> scoredItem) { AuditSettings = scoredItem.Value; IsScored = scoredItem.IsScored; }