/// <summary> /// Helper method for registering property box to Ice Object Adapter /// </summary> /// <param name="type">Name of box</param> /// <param name="defaultValue">Default value of box</param> /// <param name="valFromPrx">Method which converts property value proxy to property value object</param> public void registerPropertyBox(string type, PropertyValue defaultValue, PropertyBoxModuleFactoryCreatorI.ValueFromPrx valFromPrx, string settingModuleIdentifier) { PropertyBoxModuleFactoryCreatorI newCreator = new PropertyBoxModuleFactoryCreatorI("::Ferda::Modules::" + type, defaultValue.ice_ids(), type, defaultValue, valFromPrx, propertyReaper, _adapter, settingModuleIdentifier); }
public PropertyBoxModuleFactoryI(string propertyClassIceId, string[] propertyFunctionsIceIds, BoxModuleFactoryCreatorPrx myFactoryCreatorProxy, string[] localePrefs, PropertyValue defaultValue, PropertyBoxModuleFactoryCreatorI.ValueFromPrx valueFromPrx, Ice.ObjectAdapter adapter, string settingModuleIdentifier) { this.propertyClassIceId = propertyClassIceId; this.propertyFunctionsIceIds = propertyFunctionsIceIds; //this.localePrefs = localePrefs; this.myFactoryCreatorProxy = myFactoryCreatorProxy; this.defaultValue = defaultValue; this.valueFromPrx = valueFromPrx; this.myProxy = BoxModuleFactoryPrxHelper.uncheckedCast(adapter.addWithUUID(this)); this.settingModuleIdentifier = settingModuleIdentifier; }