public bool IsOfType(ResourceId id) { if (id.Uri.Scheme != this._uriScheme) return false; foreach (var constraint in _constraints) if (!constraint.IsMetBy(id)) return false; return true; }
public Project(ResourceId resourceId) { _resourceId = resourceId; }
public StructureMapConfigurationComponent(ResourceId resourceId) : base(resourceId) { }
public DotNetConfigurationComponent(ResourceId resourceId) : base(resourceId) { }
public ResourceId ResourceFromFilePath(string filePath) { ResourceId id = new ResourceId(); id.Uri = new Uri(filePath); return id; }
public XmlConfigurationComponent(ResourceId resourceId) { _resourceId = resourceId; }