public static C4DatabaseConfig Get(C4DatabaseConfig *source) { var retVal = new C4DatabaseConfig { flags = source->flags, versioning = source->versioning, encryptionKey = source->encryptionKey, _storageEngine = source->_storageEngine // Note: raw copy! }; return(retVal); }
public static C4DatabaseConfig Get(C4DatabaseConfig *source) { var retVal = new C4DatabaseConfig(); retVal.flags = source->flags; retVal.versioning = source->versioning; retVal.encryptionKey = source->encryptionKey; retVal._storageEngine = source->_storageEngine; return(retVal); }
public static C4DatabaseConfig Clone(C4DatabaseConfig *source) { var retVal = new C4DatabaseConfig { flags = source->flags, versioning = source->versioning, encryptionKey = source->encryptionKey, storageEngine = source->storageEngine }; return(retVal); }