private bool SetupStrings() { if (_strings == null) { _strings = new DynamicClassSetup { Assembly = Path.Combine(AssemblyPath, "InMemoryLoaderCommon.Strings.dll"), Class = "Strings" }; } if (!Components.Contains(_strings)) { Components.Add(_strings); } return(true); }
private bool SetupConverter() { if (_converter == null) { _converter = new DynamicClassSetup { Assembly = Path.Combine(AssemblyPath, "InMemoryLoaderCommon.Converter.dll"), Class = "Converter" }; } if (!Components.Contains(_converter)) { Components.Add(_converter); } return(true); }
private bool SetupCrypt() { if (_crypt == null) { _crypt = new DynamicClassSetup { Assembly = Path.Combine(AssemblyPath, "InMemoryLoaderCommon.Crypt.dll"), Class = "Crypt" }; } if (!Components.Contains(_crypt)) { Components.Add(_crypt); } return(true); }