本文整理汇总了C#中System.Collections.Specialized.StringCollection.Contains方法的典型用法代码示例。如果您正苦于以下问题:C# System.Collections.Specialized.StringCollection.Contains方法的具体用法?C# System.Collections.Specialized.StringCollection.Contains怎么用?C# System.Collections.Specialized.StringCollection.Contains使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Collections.Specialized.StringCollection
的用法示例。
在下文中一共展示了System.Collections.Specialized.StringCollection.Contains方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: button1_Click
private void button1_Click(object sender, RoutedEventArgs e)
{
if ("".Equals(cboNamespace.Text))
{
MessageBox.Show("Enter a namespace first");
return;
}
// save namespaces
try
{
System.Collections.Specialized.StringCollection strColl = new System.Collections.Specialized.StringCollection();
foreach (string s in cboNamespace.Items.SourceCollection )
{
if (s.Length > 0)
{
strColl.Add(s);
}
}
if (!strColl.Contains(cboNamespace.Text))
{
strColl.Insert(0,cboNamespace.Text);
}
DictionaryInspector.Properties.Settings.Default.selectedNamespaces = strColl;
DictionaryInspector.Properties.Settings.Default.Save();
}
catch
{
}
// open window
MainWindow window = new MainWindow(cboNamespace.Text, int.Parse(txtPort.Text));
window.Show();
this.Close();
}
示例2: UpdateFileGeodatabaseLocators
//.........这里部分代码省略.........
if (ProcessMessage != null)
{
ProcessMessage(" + Starting the rebuild of the " + currentLocatorName.Name.ToString() + " Locator...");
}
// Reset the Locator Reference Tables enumerator.
locatorReferenceTablesEnum.Reset();
// Retrieve the First Table from the Locator.
currentLocatorReferenceTable = (ESRI.ArcGIS.Location.IReferenceDataTable2)locatorReferenceTablesEnum.Next();
// Go through the Locator Reference Tables and rebuild any Alternate Name Tables that are associated with the locator.
while (currentLocatorReferenceTable != null)
{
if (currentLocatorReferenceTable.DisplayName.ToUpper() == "ALTERNATE NAME TABLE")
{
ESRI.ArcGIS.Geodatabase.IDatasetName currentTableName = null;
currentTableName = (ESRI.ArcGIS.Geodatabase.IDatasetName)currentLocatorReferenceTable.Name;
// Alternate Name Tables have the string "_ALT" inserted in the name before the "_PDX" so, remove the "_PDX" from the Feature Class Name so that it can be
// found in the Alternate Table Name.
string searchName = FeatureClassName;
if (searchName.Substring(searchName.Length - 3).ToUpper() == "PDX")
{
searchName = searchName.Substring(0, searchName.Length - 4);
}
// If the current Alternate Name Table is associated with this locator, delete it and copy the most current version from the source Geodatabase.
if (currentTableName.Name.ToString().ToUpper().IndexOf(searchName.ToUpper()) != -1)
{
// If the Table Name includes some prefix information (Database Name and Table Owner Name), drop it for attempting to find the table in the search Geodatabase.
string tableSearchName = currentTableName.Name.ToString();
if (tableSearchName.ToUpper().IndexOf(searchName.ToUpper()) > 0)
{
// Drop the prefix from the Table Name.
tableSearchName = tableSearchName.Substring(tableSearchName.IndexOf(searchName.ToUpper()));
}
// If the Table has not already been updated by this process, update it.
if (!copiedReferenceTables.Contains(tableSearchName))
{
// Let the user know which locator is being rebuilt.
if (ProcessMessage != null)
{
ProcessMessage(" < Deleting the - " + tableSearchName + " Alternate Name Table for the " + currentLocatorName.Name + " locator...");
}
geodatabaseFeatureWorkspace = (ESRI.ArcGIS.Geodatabase.IFeatureWorkspace)geodatabaseWorkspace;
deleteTable = geodatabaseFeatureWorkspace.OpenTable(currentTableName.Name.ToString());
deleteDataset = (ESRI.ArcGIS.Geodatabase.IDataset)deleteTable;
deleteDataset.Delete();
// Release the Delete Objects to remove locks on the reference table.
if (deleteDataset != null)
{
System.Runtime.InteropServices.Marshal.ReleaseComObject(deleteDataset);
}
if (deleteTable != null)
{
System.Runtime.InteropServices.Marshal.ReleaseComObject(deleteTable);
}
// Attempt to open the Source Table in the Input Geodatabase.
inputFeatureWorkspace = (ESRI.ArcGIS.Geodatabase.IFeatureWorkspace)InputWorkspace;
inputAlternateNameTable = (ESRI.ArcGIS.Geodatabase.ITable)inputFeatureWorkspace.OpenTable(InputWorkspaceDBSchemaOwnerName + "." + tableSearchName);
inputTableDataset = (ESRI.ArcGIS.Geodatabase.IDataset)inputAlternateNameTable;
// If the Table was opened successfully, Attempt to Copy it to the File Geodatabase.
string temporaryDirectory = null;
if (inputAlternateNameTable != null)
{
// Determine in which directory the Temporary SDE Connection File should
// be created.
if (System.IO.Directory.Exists(@"D:\Temp"))
{
示例3: Remove
public void Remove(System.Collections.Specialized.StringCollection Identifiers)
{
ArrayList memList=new ArrayList();
for(int i=0;i<Identifiers.Count;i++)
{
short axisOrdinal=-1;
int pos=-1;
int mpos=-1;
this.CellsetPositionFromIdentifier(Identifiers[i] , ref axisOrdinal , ref pos, ref mpos);
CellsetMember cstMem=_report.Cellset.GetCellsetMember( (byte)axisOrdinal , mpos, pos);
memList.Add(cstMem);
}
// remove members
System.Collections.Specialized.StringCollection parentList=new System.Collections.Specialized.StringCollection();
for(int i=0;i<memList.Count;i++)
{
CellsetMember cstMem=(CellsetMember)memList[i];
Hierarchy hier=_report.Schema.GetHierarchyFromMemberUniqueName(cstMem.UniqueName);
// get member, remove if exisits
DataMember dmem=(DataMember)hier.GetMember(cstMem.UniqueName);
if(dmem!=null)
{
dmem.Hierarchy.RemoveMember(dmem);
continue;
}
// if not found by unique name, check if member was part of MemberChildrenSet (autoselect),
// in this case we convert it to not-autoselect
if(cstMem.LevelDepth==0)
continue;
SchemaMember parentMem=_report.Schema.GetMemberParent(hier, cstMem.UniqueName);
if(parentMem!=null)
{
if(parentList.Contains(parentMem.UniqueName))
continue; // parent already handled
parentList.Add(parentMem.UniqueName);
MemberChildrenSet mcs=hier.CalculatedMembers.GetMemberChildrenSet(parentMem.UniqueName);
if(mcs!=null)
{
// add children
hier.RemoveMember(mcs);
hier.AddMemberChildren(parentMem.UniqueName, false);
}
}
}
// finally remove members
for(int i=0;i<memList.Count;i++)
{
CellsetMember cstMem=(CellsetMember)memList[i];
Hierarchy hier=_report.Schema.GetHierarchyFromMemberUniqueName(cstMem.UniqueName);
hier.DataMembers.Remove(cstMem.UniqueName);
}
}
示例4: mnuRefreshP4_Click
private void mnuRefreshP4_Click(object sender, System.EventArgs e)
{
LoadFileList();
System.Collections.Specialized.StringCollection opened = new System.Collections.Specialized.StringCollection();
opened.AddRange(m_p4.GetP4OpenFiles ());
foreach(ListViewItem item in m_list.Items)
{
if(opened.Contains( (string)item.Tag))
{
item.ImageIndex = 1;
item.ForeColor = System.Drawing.Color.Blue;
}
}
}
示例5: InnerSetup
/// <summary>
/// Inner method used to implement the setup operation.
/// </summary>
protected void InnerSetup(Config config)
{
// if needed, clear the prior state.
if (setupPerformed)
Clear();
// record the given configuration
this.config = config;
excludedFileSet = new System.Collections.Specialized.StringCollection();
excludedFileSet.AddRange(config.excludeFileNamesSet.ToArray());
string dirPath = config.dirPath;
// try to add a DirectoryEntryInfo record for each of the files that are in the directory
try
{
DirectoryEntryInfo basePathInfo = new DirectoryEntryInfo(dirPath);
if (basePathInfo.Exists)
{
if (basePathInfo.IsFile)
throw new SetupFailureException(Utils.Fcns.CheckedFormat("target path '{0}' does not specify a directory.", dirPath));
}
else
{
if (config.createDirectoryIfNeeded)
System.IO.Directory.CreateDirectory(dirPath);
else
throw new SetupFailureException(Utils.Fcns.CheckedFormat("target path '{0}' does not exist.", dirPath));
}
// directory exists or has been created - now scan it and record each of the entries that are found therein
DirectoryInfo dirInfo = new DirectoryInfo(dirPath);
FileSystemInfo [] directoryFSIArray = dirInfo.GetFileSystemInfos();
foreach (FileSystemInfo fsi in directoryFSIArray)
{
string path = fsi.FullName;
string name = fsi.Name;
if (!excludedFileSet.Contains(name) && !excludedFileSet.Contains(path))
AddDirEntry(path, true);
}
if (numBadDirEntries != 0)
logger.Error.Emit("Setup Failure: There are bad directory entries in dir '{0}'", dirPath);
}
catch (SetupFailureException sfe)
{
SetSetupFaultCode(sfe.Message);
}
catch (System.Exception ex)
{
SetSetupFaultCode(Utils.Fcns.CheckedFormat("Setup Failure: encountered unexpected exception '{0}' while processing dir '{1}'", ex.Message, dirPath));
}
if (!SetupFailed)
{
// perform an additional set of tests
if (string.IsNullOrEmpty(config.fileNamePrefix) || string.IsNullOrEmpty(config.fileNameSuffix))
SetSetupFaultCode("Setup Failure: Invalid file name fields in configuration");
else if (config.advanceRules.fileAgeLimitInSec < 0.0)
SetSetupFaultCode("Setup Failure: Config: advanceRules.fileAgeLimitInSec is negative");
else if (config.purgeRules.dirNumFilesLimit > 0 && config.purgeRules.dirNumFilesLimit < ConfigPurgeNumFilesMinValue)
SetSetupFaultCode("Setup Failure: Config: purgeRules.dirNumFilesLimit is too small");
else if (config.purgeRules.dirNumFilesLimit > 0 && config.purgeRules.dirNumFilesLimit > ConfigPurgeNumFilesMaxValue)
SetSetupFaultCode("Setup Failure: Config: purgeRules.dirNumFilesLimit is too large");
else if (config.purgeRules.dirTotalSizeLimit < 0)
SetSetupFaultCode("Setup Failure: Config: purgeRules.dirTotalSizeLimit is negative");
else if (config.purgeRules.fileAgeLimitInSec < 0.0)
SetSetupFaultCode("Setup Failure: Config: purgeRules.maxFileAgeLimitInSec is negative");
}
DirectoryEntryInfo activeFileInfo = new DirectoryEntryInfo();
if (!SetupFailed)
{
switch (config.fileNamePattern)
{
case FileNamePattern.ByDate: numFileNumberDigits = 0; break;
case FileNamePattern.Numeric2DecimalDigits: numFileNumberDigits = 2; maxFileNumber = 100; break;
case FileNamePattern.Numeric3DecimalDigits: numFileNumberDigits = 3; maxFileNumber = 1000; break;
case FileNamePattern.Numeric4DecimalDigits: numFileNumberDigits = 4; maxFileNumber = 10000; break;
default: SetSetupFaultCode("Setup Failure: Invalid file name pattern in configuration"); break;
}
// go through the directory file info entries (acquired above) from newest to oldest
// and retain the newest valid file that matches the name pattern for this content
// manager. This file will become the initial active file.
activeFileEntryID = DirEntryID_Invalid;
activeFileNumber = 0;
bool matchFound = false;
IList<Int64> itemKeys = dirEntryIDListSortedByCreatedFTimeUtc.Keys;
IList<List<int>> itemValues = dirEntryIDListSortedByCreatedFTimeUtc.Values;
//.........这里部分代码省略.........
示例6: Initializing_pagevariables
private void Initializing_pagevariables()
{
available_elements = new System.Collections.Specialized.StringCollection();
available_elements.AddRange(new string[] {"themecolour", "pagetitle", "pagetagline", "mda", "leftnav", "leftnav_page", "introduction", "headline", "required_sentence", "bandedheader", "content", "button", "divider"});
try
{
Hashtable h_params = new Hashtable();
page_id_from_session = Session["page_id"].ToString();
if(Request.QueryString["element"] != null)
{
string rqst_element = Request.QueryString["element"].ToString();
element_to_edit = rqst_element;
if (!available_elements.Contains(rqst_element))
{
Response.Redirect("index.aspx");
}
}
else
{
if (Request.QueryString["id"] != null)
{
element_id = Request.QueryString["id"].ToString();
h_params.Add("page_id", page_id_from_session);
h_params.Add("element_id", element_id);
element_db = DB.execProc("select_page_variableelements", h_params);
switch (element_db.Rows[0][1].ToString())
{
case "bh": element_to_edit = "bandedheader";
break;
case "di": element_to_edit = "divider";
break;
case "cc": element_to_edit = "content";
break;
case "rh": element_to_edit = "headline";
break;
default: Response.Redirect("index.aspx", true);
break;
}
}
else
{
Response.Redirect("index.aspx", true);
}
}
h_params.Clear();
h_params = new Hashtable();
h_params.Add("page_id", page_id_from_session);
h_params.Add("page_type", "1");
page_type = DB.execProc("select_page_fixedelements", h_params).Rows[0][0].ToString();
Session["page_type"] = page_type;
}
catch
{
Response.Redirect("index.aspx", true);
}
}
示例7: RegisterSubject
private Guid RegisterSubject(string name, string[] additionalOperations, string username)
{
Logger.Debug("Registered subject " + name);
using (SC.Utility.Lock l = new SC.Utility.Lock(secLock, SC.Utility.Lock.LockType.ForWriting))
{
SecuritySubject subject;
if (!subjects.ContainsKey(name))
{
if (username == null)
subjects[name] = new SecuritySubject(name);
else
subjects[name] = new SecuritySubject(name, username);
}
subject = subjects[name];
Guid guid = Guid.NewGuid();
while (acls.ContainsKey(guid))
guid = Guid.NewGuid();
acls.Add(guid, subject);
if (additionalOperations != null)
{
Logger.Debug("Additional operations " + string.Join(", ", additionalOperations));
System.Collections.Specialized.StringCollection operations = new System.Collections.Specialized.StringCollection();
operations.AddRange(additionalOperations);
foreach (string op in operations)
{
if (!subject.HaveOperation(op))
subject.AddOperation(op);
}
operations.Add(Operation.DEFAULT_OPERATION);
foreach (string op in subject.GetOperations())
{
if (!operations.Contains(op))
subject.RemoveOperation(op);
}
}
return guid;
}
}
示例8: Refresh
/// <summary>
/// Refreshes Modules manager informations
/// </summary>
/// <remarks>
/// Is mainly nead to execute when in Ice locator
/// (IceGrid) are new instances of
/// <see cref="T:Ferda.Modules.BoxModuleFactoryCreatorPrx"/>
/// </remarks>
public void Refresh()
{
this.Helper.ManagersEngineI.ManagersLocatorI.Refresh();
System.Collections.Specialized.StringCollection usedKeys
= new System.Collections.Specialized.StringCollection();
Debug.WriteLine("Refreshing Creators...");
//TODO udelat lepe - co kdyz se zmeni server na kterem bezi moduly?!
creatorPrxs = this.lnkHelper.ManagersEngineI.ManagersLocatorI.BoxModuleFactoryCreatorsByIdentifier;
foreach(KeyValuePair<string,Ferda.Modules.BoxModuleFactoryCreatorPrx> val in creatorPrxs)
{
if(!boxModuleFactoryCreators.ContainsKey(val.Key))
boxModuleFactoryCreators[val.Key] = new BoxModuleFactoryCreator(this.lnkHelper,val.Value, this, helpFiles);
usedKeys.Add(val.Key);
}
foreach(string key in creatorPrxs.Keys)
{
if(!usedKeys.Contains(key)) boxModuleFactoryCreators.Remove(key);
}
boxModuleFactoryCreators[groupCreator.Identifier] = groupCreator;
}
示例9: localization_FK_SelectedIndexChanged
protected void localization_FK_SelectedIndexChanged(object sender, EventArgs e)
{
List<CountryLanguageDto> localizations = (List<CountryLanguageDto>)ViewState["countries"];
List<PageTagDto> pageTags = (List<PageTagDto>)ViewState["page_tags"];
CountryLanguageDto foundLocalization = localizations.Find(l => l.LocalizationId == int.Parse(localization_FK.SelectedItem.Value));
if (foundLocalization != null)
{
System.Collections.Specialized.StringCollection regions = new System.Collections.Specialized.StringCollection();
regions.Add("Americas");
regions.Add("EMEA");
string region = foundLocalization.WebPageInRegion;
if (!(regions.Contains(hidden_region.Text) && regions.Contains(region)) && hidden_region.Text != region)
{
//only rebind dd's if region is different from region before
if (region == "APJ")
{
sPropSalesCycleLabel.Text = "Marketing Funnel:";
apj_01.Visible = false;
List<PageTagDto> listOfOmniProp1 = pageTags.FindAll(pt => (!String.IsNullOrEmpty(pt.TagGroup) && pt.TagGroup.Equals("s_prop1__sales_cycle") &&
((!String.IsNullOrEmpty(pt.RegionApplicability) && pt.RegionApplicability.Equals("APJ")) || String.IsNullOrEmpty(pt.RegionApplicability))) ||
pt.TagId == -1);
listOfOmniProp1.Sort(delegate(PageTagDto pt1, PageTagDto pt2)
{
return pt1.Ordering.CompareTo(pt2.Ordering);
});
dd_omni_prop1.DataSource = listOfOmniProp1;
dd_omni_prop1.DataTextField = "DisplayValue";
dd_omni_prop1.DataValueField = "TagId";
dd_omni_prop1.DataBind();
List<PageTagDto> listOfOmniProp16 = pageTags.FindAll(pt => (!String.IsNullOrEmpty(pt.TagGroup) && pt.TagGroup.Equals("s_prop16__bu_tag") &&
((!String.IsNullOrEmpty(pt.RegionApplicability) && pt.RegionApplicability.Equals("APJ")) || String.IsNullOrEmpty(pt.RegionApplicability))) ||
pt.TagId == -1);
listOfOmniProp16.Sort(delegate(PageTagDto pt1, PageTagDto pt2)
{
return pt1.Ordering.CompareTo(pt2.Ordering);
});
dd_omni_prop16.DataSource = listOfOmniProp16;
dd_omni_prop16.DataTextField = "DisplayValue";
dd_omni_prop16.DataValueField = "TagId";
dd_omni_prop16.DataBind();
List<PageTagDto> listOfMetaSegment = pageTags.FindAll(pt => (!String.IsNullOrEmpty(pt.TagGroup) && pt.TagGroup.Equals("segment") &&
((!String.IsNullOrEmpty(pt.RegionApplicability) && pt.RegionApplicability.Equals("APJ")) || String.IsNullOrEmpty(pt.RegionApplicability))) ||
pt.TagId == -1);
listOfMetaSegment.Sort(delegate(PageTagDto pt1, PageTagDto pt2)
{
return pt1.Ordering.CompareTo(pt2.Ordering);
});
dd_meta_segment.DataSource = listOfMetaSegment;
dd_meta_segment.DataTextField = "DisplayValue";
dd_meta_segment.DataValueField = "TagId";
dd_meta_segment.DataBind();
}
else
{
//webpage_in_region = "EMEA" or "Americas"
sPropSalesCycleLabel.Text = "Sales Cycle:";
apj_01.Visible = true;
List<PageTagDto> listOfProp1 = pageTags.FindAll(pt => (!String.IsNullOrEmpty(pt.TagGroup) && pt.TagGroup.Equals("s_prop1__sales_cycle") &&
((!String.IsNullOrEmpty(pt.RegionApplicability) && pt.RegionApplicability.Equals("EMEA")) || String.IsNullOrEmpty(pt.RegionApplicability))) ||
pt.TagId == -1);
listOfProp1.Sort(delegate(PageTagDto pt1, PageTagDto pt2)
{
return pt1.Ordering.CompareTo(pt2.Ordering);
});
dd_omni_prop1.DataSource = listOfProp1;
dd_omni_prop1.DataTextField = "DisplayValue";
dd_omni_prop1.DataValueField = "TagId";
dd_omni_prop1.DataBind();
List<PageTagDto> listOfProp16 = pageTags.FindAll(pt => (!String.IsNullOrEmpty(pt.TagGroup) && pt.TagGroup.Equals("s_prop16__bu_tag") &&
((!String.IsNullOrEmpty(pt.RegionApplicability) && pt.RegionApplicability.Equals("EMEA")) || String.IsNullOrEmpty(pt.RegionApplicability))) ||
pt.TagId == -1);
listOfProp16.Sort(delegate(PageTagDto pt1, PageTagDto pt2)
{
return pt1.Ordering.CompareTo(pt2.Ordering);
});
dd_omni_prop16.DataSource = listOfProp16;
dd_omni_prop16.DataTextField = "DisplayValue";
dd_omni_prop16.DataValueField = "TagId";
dd_omni_prop16.DataBind();
List<PageTagDto> listOfMetaSegment = pageTags.FindAll(pt => (!String.IsNullOrEmpty(pt.TagGroup) && pt.TagGroup.Equals("segment") &&
((!String.IsNullOrEmpty(pt.RegionApplicability) && pt.RegionApplicability.Equals("EMEA")) || String.IsNullOrEmpty(pt.RegionApplicability))) ||
pt.TagId == -1);
listOfMetaSegment.Sort(delegate(PageTagDto pt1, PageTagDto pt2)
{
return pt1.Ordering.CompareTo(pt2.Ordering);
});
//.........这里部分代码省略.........
示例10: LoadModules
//.........这里部分代码省略.........
}
else
{
Base.Core.SendLogMessage("ModuleManagement", "LoadModules", BlackLight.Services.Error.Errors.DEBUG | BlackLight.Services.Error.Errors.WARNING, "DataBase driver already loaded!", "File does not exist", "", "");
ModuleFiles.RemoveAt(0);
}
}
//Set the internal filename for the ModuleList Class
tModule.FileName = tMod;
//Clear the list of found modules for requirements
tFound.Clear();
//Malicious module coder?
if (tModule.Requires.Count < 1000)
{
//Check if they actually have any requirements (Hope they don't)
if (tModule.Requires.Count > 0)
{
//What kind of peice of shit coder requires other modules...oh right chanserv needs
//nickserv
//Check if its loaded already and work is saved
foreach (string xString in tModule.Requires)
{
tString = xString.ToLower();
//Make sure the dumbass didn't require themselves
if (tMod.ToLower() != tString)
{
//Make sure we havn't already found it
if (tFound.Contains(tString) == false)
{
//Now check if its loaded
if (Modules.Contains(tString) == false)
{
//Nope not loaded, does the file actually exist?
if (File.Exists("modules/" + tMod) == false)
{
Base.Core.SendLogMessage("ModuleManagement", "LoadModules", BlackLight.Services.Error.Errors.DEBUG | BlackLight.Services.Error.Errors.WARNING, "Requirements for " + tMod + " not met", "File does not exist", "", "");
ModuleFiles.RemoveAt(0);
break;
}
else
{
//It does, heh, so the module still could be loaded
//Well maybe, lets see if its possible
if (ModuleFiles.Contains(tString) == false)
{
//Nope? Well thats the end of that module
Base.Core.SendLogMessage("ModuleManagement", "LoadModules", BlackLight.Services.Error.Errors.DEBUG | BlackLight.Services.Error.Errors.WARNING, "Requirements for " + tMod + " not met", "Requirement not found in avalability list", "", "");
ModuleFiles.RemoveAt(0);
break;
}
}
}
else
{
//Alrighty then, so the module has already been loaded, add it to the found list
tFound.Add(tString);
// Base.Service.SendLogMessage("ModuleManagement", "LoadModules", Errors.LOG_DEBUG_AND_WARNING, "Found", "", "", "")
}
示例11: IsWithIceId
/// <summary>
/// Says if some creator has function with specified ice identifier
/// </summary>
/// <param name="iceId">Ice identifier</param>
/// <param name="creator">Proxy of box module factory creator</param>
/// <returns></returns>
public bool IsWithIceId(string iceId, BoxModuleFactoryCreatorPrx creator)
{
System.Collections.Specialized.StringCollection _functionsIceIds =
new System.Collections.Specialized.StringCollection();
_functionsIceIds.AddRange(
creator.getBoxModuleFunctionsIceIds());
return _functionsIceIds.Contains(iceId);
}