private LODCache.LODCache GetCache() { Func <ChunkedLodTreeFactory.ChunkedLodTreeNode, bool> contains = node => _cache.Contains(node); Action <ChunkedLodTreeFactory.ChunkedLodTreeNode> beginCache = _ => { }; Func <ChunkedLodTreeFactory.ChunkedLodTreeNode, Rendering.RenderableMesh> get = _ => { throw new Exception(); }; var a = FSharpUtil.FSharpFuncUtil.ToFSharpFunc(contains); var b = FSharpUtil.FSharpFuncUtil.ToFSharpFunc(beginCache); var c = FSharpUtil.FSharpFuncUtil.ToFSharpFunc(get); var cache = new LODCache.LODCache( a, b, c); return(cache); }
private LODCache.LODCache GetCache() { Func<ChunkedLodTreeFactory.ChunkedLodTreeNode, bool> contains = node => _cache.Contains(node); Action<ChunkedLodTreeFactory.ChunkedLodTreeNode> beginCache = _ => { }; Func<ChunkedLodTreeFactory.ChunkedLodTreeNode, Rendering.RenderableMesh> get = _ => { throw new Exception(); }; var a = FSharpUtil.FSharpFuncUtil.ToFSharpFunc(contains); var b = FSharpUtil.FSharpFuncUtil.ToFSharpFunc(beginCache); var c = FSharpUtil.FSharpFuncUtil.ToFSharpFunc(get); var cache = new LODCache.LODCache( a, b, c); return cache; }