示例#1
0
                    private IEnumerable <IFile> GetMatching(string rawPattern)
                    {
                        PathPattern pattern = new PathPattern(rawPattern);

                        foreach (KeyValuePair <PathPart, FakeFile> kv in this.fakeFiles)
                        {
                            if (pattern.Matches(kv.Key))
                            {
                                yield return(kv.Value);
                            }
                        }
                    }