예제 #1
0
        public void Start()
        {
            var netGraphMgr = new NetGraphMgr(NetGraphCli);

            "Starting writes to storage".ToDebug <NetGraphDemo>();
            netGraphMgr.LoadRedisFromFile();

            "Starting relationship lookups".ToDebug <NetGraphDemo>();
            netGraphMgr.LookupByEed();
            netGraphMgr.LookupByPd();
            netGraphMgr.LookupBySd();

            "Starting relationship lookups by attribute".ToDebug <NetGraphDemo>();
            netGraphMgr.LookupEedByAttributes();

            "Starting relationship lookups by attribute from db only".ToDebug <NetGraphDemo>();
            netGraphMgr.LookupEedByAttributesDbOnly();
        }
예제 #2
0
파일: Program.cs 프로젝트: cmgator/Symbiote
        public void Start()
        {

            var netGraphMgr = new NetGraphMgr(NetGraphCli);

            "Starting writes to storage".ToDebug<NetGraphDemo>();
            netGraphMgr.LoadRedisFromFile();

            "Starting relationship lookups".ToDebug<NetGraphDemo>();
            netGraphMgr.LookupByEed();
            netGraphMgr.LookupByPd();
            netGraphMgr.LookupBySd();

            "Starting relationship lookups by attribute".ToDebug<NetGraphDemo>();
            netGraphMgr.LookupEedByAttributes();

            "Starting relationship lookups by attribute from db only".ToDebug<NetGraphDemo>();
            netGraphMgr.LookupEedByAttributesDbOnly();
        }