Пример #1
0
        public override BaseMetaDataView GetInformation()
        {
            HiddenLayerMetaDataView info = new HiddenLayerMetaDataView(ref metaDataPool);

            info.InformationChanged += SetMetaData;
            info.InformationChanged += LayerNameChange;

            if (metaData.ContainsKey("factory"))
            {
                info.SetFactory(metaData["factory"]);
            }
            if (metaData.ContainsKey("dataType"))
            {
                info.SetDataType(metaData["dataType"]);
            }
            if (metaData.ContainsKey("nodeCount"))
            {
                info.SetNodeCount(metaData["nodeCount"]);
            }
            if (metaData.ContainsKey("layerName"))
            {
                info.SetLayerName(metaData["layerName"]);
            }
            info.SetExtraFields(metaData);

            return(info);
        }
Пример #2
0
        public override BaseMetaDataView GetInformation()
        {
            HiddenLayerMetaDataView info = new HiddenLayerMetaDataView(ref metaDataPool);
            info.InformationChanged += SetMetaData;
            info.InformationChanged += LayerNameChange;

            if (metaData.ContainsKey("factory"))
                info.SetFactory(metaData["factory"]);
            if (metaData.ContainsKey("dataType"))
                info.SetDataType(metaData["dataType"]);
            if (metaData.ContainsKey("nodeCount"))
                info.SetNodeCount(metaData["nodeCount"]);
            if (metaData.ContainsKey("layerName"))
                info.SetLayerName(metaData["layerName"]);
            info.SetExtraFields(metaData);

            return info;
        }