Beispiel #1
0
        public IPluginable InitializePlugin(String myUniqueString,
                                            Dictionary <string, object> myParameters = null)
        {
            IGraphDB dbInstance = null;

            if (myParameters != null)
            {
                if (myParameters.ContainsKey("GraphDB"))
                {
                    dbInstance = (IGraphDB)myParameters["GraphDB"];
                }
            }

            var result = new SonesQueryLanguage(dbInstance);

            return((IPluginable)result);
        }
Beispiel #2
0
        public IPluginable InitializePlugin(String myUniqueString, 
                                            Dictionary<string, object> myParameters = null)
        {
            IGraphDB dbInstance = null;

            if (myParameters != null)
            {
                if (myParameters.ContainsKey("GraphDB"))
                {
                    dbInstance = (IGraphDB)myParameters["GraphDB"];
                }
            }

            var  result = new SonesQueryLanguage(dbInstance);

            return (IPluginable)result;
        }