コード例 #1
0
            public Features QueryNodeFeatures(int n1)
            {
                Features features = new Features();

                IFeature feature = _nfc.GetNodeFeature(n1);

                if (feature != null)
                {
                    features.Add(feature);
                }

                return(features);
            }
コード例 #2
0
            async public Task <Features> QueryNodeFeatures(int n1)
            {
                Features features = new Features();

                IFeature feature = await _nfc.GetNodeFeature(n1);

                if (feature != null)
                {
                    features.Add(feature);
                }

                return(features);
            }