Example #1
0
        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;
        }
Example #2
0
 public Project(ResourceId resourceId)
 {
     _resourceId = resourceId;
 }
        public StructureMapConfigurationComponent(ResourceId resourceId)
            : base(resourceId)
        {

        }
        public DotNetConfigurationComponent(ResourceId resourceId)
            : base(resourceId)
        {

        }
Example #5
0
 public ResourceId ResourceFromFilePath(string filePath)
 {
     ResourceId id = new ResourceId();
     id.Uri = new Uri(filePath);
     return id;
 }
 public XmlConfigurationComponent(ResourceId resourceId)
 {
     _resourceId = resourceId;
 }