Пример #1
0
        public OntologySdk(string node, ConnectionMethodFactory.ConnectionMethod connectionMethod)
        {
            var factory = new ConnectionMethodFactory();

            ConnectionManager = factory.SetConnectionMethod(connectionMethod);
            _account          = new Basic.Account(node);
        }
        public OntologySdk(string node, ConnectionMethodFactory.ConnectionMethod connectionMethod)
        {
            NodeHost = node;
            var factory = new ConnectionMethodFactory();

            Connection = factory.SetConnectionMethod(node, connectionMethod);
        }