示例#1
0
 /// <summary>
 /// We need a reference to the MetadataWorkspace for translating between
 /// the information we get from the ChangeTracker into actual concrete types
 /// that we can then pull annotations from.
 /// </summary>
 private FilterAttributeCache(MetadataWorkspace workspace)
 {
     this.workspace = workspace;
     this.cache     = new ConcurrentDictionary <Signature, IEnumerable <IFilterAttribute> >();
     this.mapper    = new MetadataSpaceMapper(workspace);
 }
 /// <summary>
 /// We need a reference to the MetadataWorkspace for translating between
 /// the information we get from the ChangeTracker into actual concrete types
 /// that we can then pull annotations from.
 /// </summary>
 private FilterAttributeCache(MetadataWorkspace workspace)
 {
     this.workspace = workspace;
     this.cache = new ConcurrentDictionary<Signature, IEnumerable<IFilterAttribute>>();
     this.mapper = new MetadataSpaceMapper(workspace);
 }