void addelement(NetworkNodeRemote _Node, NetworkClassSlave _Class) { if (!columns.ContainsKey(_Node.NodeID.ToString())) { GenericBrowserHeader header = new GenericBrowserHeader(_Node.NodeID.ToString(), this); header.node = _Node; columns.Add(_Node.NodeID.ToString(), new Column()); columns[_Node.NodeID.ToString()].header = header; } Column col = columns[_Node.NodeID.ToString()]; if (!col.elements.ContainsKey(_Class.Name)) { GenericBrowserElement element = new GenericBrowserElement(_Class.Name, this); element.networkclass = _Class; col.elements.Add(_Class.Name, element); } }
public Method(string _MethodName, NetworkClassSlave _NetworkClass, string[] _ParameterNames) { methodname = _MethodName; networkclass = _NetworkClass; parameternames = _ParameterNames; }
public Field(string _FieldName, NetworkClassSlave _NetworkClass, object _Value) { fieldname = _FieldName; networkclass = _NetworkClass; fieldtype = _Value.GetType(); value = _Value; }