示例#1
0
		public bool TryGet(Project project, out Entry entry)
		{
			if (project == null)
				throw new ArgumentNullException("project");

			return _configurations.TryGetValue(project, out entry);
		}
示例#2
0
		public void Add(ProjectItem configurationItem, Configuration configuration)
		{
			if (configurationItem == null)
				throw new ArgumentNullException("configurationItem");
			if (configuration == null)
				throw new ArgumentNullException("configuration");

			var project = configurationItem.ContainingProject;
			var entry = new Entry(configurationItem, configuration);

			_configurations.Add(project, entry);
		}