Exemplo n.º 1
0
        public override BaseMetaDataView GetInformation()
        {
            NodeMetaDataView info = new NodeMetaDataView(ref metaDataPool);

            info.InformationChanged += SetMetaData;

            if (metaData.ContainsKey("factory"))
            {
                info.SetFactory(metaData["factory"]);
            }
            if (metaData.ContainsKey("dataType"))
            {
                info.SetDataType(metaData["dataType"]);
            }
            if (metaData.ContainsKey("layer"))
            {
                info.SetLayerName(metaData["layer"]);
            }
            if (metaData.ContainsKey("combinationWeights"))
            {
                info.SetCombinationWeights(metaData["combinationWeights"]);
            }
            info.SetExtraFields(metaData);

            return(info);
        }
Exemplo n.º 2
0
        public override BaseMetaDataView GetInformation()
        {
            NodeMetaDataView info = new NodeMetaDataView(ref metaDataPool);
            info.InformationChanged += SetMetaData;

            if (metaData.ContainsKey("factory"))
                info.SetFactory(metaData["factory"]);
            if (metaData.ContainsKey("dataType"))
                info.SetDataType(metaData["dataType"]);
            if (metaData.ContainsKey("layer"))
                info.SetLayerName(metaData["layer"]);
            if (metaData.ContainsKey("combinationWeights"))
                info.SetCombinationWeights(metaData["combinationWeights"]);
            info.SetExtraFields(metaData);

            return info;
        }