public ModuleConfigHelper(long domainID, ModuleID module, ModuleFeatureID feature) { _domainID = domainID; _module = module; _feature = feature; }
public DomainAccessToVendor(ModuleFeatureID vendorId, string paramVendorProxyAllowedIP, string paramIsProxyEnabled) { _vendorId = vendorId; _parameterVendorProxyAllowedIP = paramVendorProxyAllowedIP; _parameterVendorIsProxyEnabled = paramIsProxyEnabled; InitConfiguration(); }
public ModuleConfigHelper(ModuleID module, ModuleFeatureID feature) { _domainID = SP.SessionContext.DomainID; _module = module; _feature = feature; }
public bool IsFeatureEnabled(long domainID, ModuleID moduleID, ModuleFeatureID moduleFeatureID) { return SP.ModuleConfigProvider.IsFeatureEnabled( domainID, moduleID, moduleFeatureID); }
public string FeatureParameterStrValue(long domainID, ModuleID moduleID, ModuleFeatureID moduleFeatureID, string paramName) { return SP.ModuleConfigProvider.FeatureParameterValue( domainID, moduleID, moduleFeatureID, paramName); }
public bool IsFeatureEnabled(ModuleID moduleID, ModuleFeatureID moduleFeatureID) { return IsFeatureEnabled(SP.SessionContext.DomainID, moduleID, moduleFeatureID); }
public bool FeatureParameterIsEnabled(long domainID, ModuleID moduleID, ModuleFeatureID moduleFeatureID, string paramName) { return SP.ModuleConfigProvider.FeatureParameterIsEnabled( domainID, moduleID, moduleFeatureID, paramName); }
public string FeatureParameterStrValue(ModuleID moduleID, ModuleFeatureID moduleFeatureID, string paramName) { return FeatureParameterStrValue(SP.SessionContext.DomainID, moduleID, moduleFeatureID, paramName); }
public bool FeatureParameterIsEnabled(ModuleID moduleID, ModuleFeatureID moduleFeatureID, string paramName) { return FeatureParameterIsEnabled(SP.SessionContext.DomainID, moduleID, moduleFeatureID, paramName); }
public int FeatureParameterIntValue(long domainID, ModuleID moduleID, ModuleFeatureID moduleFeatureID, string paramName) { return int.Parse(SP.ModuleConfigProvider.FeatureParameterValue( domainID, moduleID, moduleFeatureID, paramName)); }
public string FeatureParameterValue(long domainID, ModuleID moduleID, ModuleFeatureID moduleFeatureID, string paramName) { Util.Check.Require(IsModuleEnabled(domainID, moduleID), string.Format("Module is not enabled {0}", moduleID)); Util.Check.Require(IsFeatureEnabled(domainID, moduleID, moduleFeatureID), string.Format("Module feature is not enabled {0}", moduleFeatureID)); return DomainModuleFeatureConfig[domainID][moduleID][moduleFeatureID][paramName]; }
public bool FeatureParameterIsEnabled(long domainID, ModuleID moduleID, ModuleFeatureID moduleFeatureID, string paramName) { return IsFeatureEnabled(domainID, moduleID, moduleFeatureID) && FeatureParameterValue(domainID, moduleID, moduleFeatureID, paramName) == SP.Const.MOD_Yes; }
public bool IsFeatureEnabled(long domainID, ModuleID moduleID, ModuleFeatureID moduleFeatureID) { Util.Check.Require(DomainModuleFeature[domainID][moduleID].ContainsKey(moduleFeatureID), string.Format( "The following keys combination wasn't found in DomainModuleFeature dictionary: {0},{1},{2}", domainID, moduleID, moduleFeatureID)); return IsModuleEnabled(domainID, moduleID) && DomainModuleFeature[domainID][moduleID][moduleFeatureID].IsEnabled; }