public void Open(bool useElevatedTrust) { file = FileFactory.Create(filePath, false, useElevatedTrust); }
public ObjectSerializer(string filePath, bool useElevatedTrust) { this.filePath = filePath; file = FileFactory.Create(filePath, false, useElevatedTrust); }