private static void AddFunctionToPackage(string packageName, INamedItemInfo function) { BlockingCollection<INamedItemInfo> funcs; if (!_packageToFunctionsMap.TryGetValue(packageName, out funcs)) { funcs = new BlockingCollection<INamedItemInfo>(); _packageToFunctionsMap[packageName] = funcs; } _functionToPackageMap[function.Name] = packageName; funcs.Add(function); }
private static void AddFunctionToPackage(string packageName, INamedItemInfo function) { BlockingCollection <INamedItemInfo> funcs; if (!_packageToFunctionsMap.TryGetValue(packageName, out funcs)) { funcs = new BlockingCollection <INamedItemInfo>(); _packageToFunctionsMap[packageName] = funcs; } _functionToPackageMap[function.Name] = packageName; funcs.Add(function); }
public ReplacementItemInfo(INamedItemInfo item, string newName) { Description = item.Description; ItemType = item.ItemType; Name = newName; }
public ReplacementItemInfo(INamedItemInfo item, string newName) { Description = item.Description; ItemType = item.ItemType; Name = newName; }