本文整理汇总了C#中ISerializableNode类的典型用法代码示例。如果您正苦于以下问题:C# ISerializableNode类的具体用法?C# ISerializableNode怎么用?C# ISerializableNode使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ISerializableNode类属于命名空间,在下文中一共展示了ISerializableNode类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID triggeredId = new CSerializationID("triggered");
node.setAttr(triggeredId, this.m_bTriggered);
}
示例2: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID setId = new CSerializationID("set");
node.setAttr(setId, this.m_set);
}
示例3: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID countId = new CSerializationID("count");
node.setAttr(countId, this.m_n);
}
示例4: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID activeChildId = new CSerializationID("activeChild");
node.setAttr(activeChildId, this.m_activeChildIndex);
}
示例5: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID initId = new CSerializationID("inited");
node.setAttr(initId, this.m_bInited);
}
示例6: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID startId = new CSerializationID("start");
node.setAttr(startId, this.m_start);
CSerializationID timeId = new CSerializationID("time");
node.setAttr(timeId, this.m_time);
}
示例7: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID startId = new CSerializationID("start");
node.setAttr(startId, this.m_start);
CSerializationID framesId = new CSerializationID("frames");
node.setAttr(framesId, this.m_frames);
}
示例8: save
public virtual void save(ISerializableNode node)
{
//CSerializationID classId = new CSerializationID("class");
//node.setAttr(classId, this.GetClassNameString());
//CSerializationID idId = new CSerializationID("id");
//node.setAttr(idId, this.GetId());
//CSerializationID statusId = new CSerializationID("status");
//node.setAttr(statusId, this.m_status);
}
示例9: load
public virtual void load(ISerializableNode node)
{
}
示例10: save
public override void save(ISerializableNode node)
{
base.save(node);
if (this.m_root != null)
{
//CSerializationID nodeId = new CSerializationID("root");
//ISerializableNode chidlNode = node.newChild(nodeId);
//this.m_root.save(chidlNode);
}
}
示例11: Load
void Load(ISerializableNode node)
{
}
示例12: load
public override void load(ISerializableNode node)
{
base.load(node);
}
示例13: Save
public void Save(ISerializableNode node)
{
//base.Save(node);
CSerializationID variableId = new CSerializationID("var");
ISerializableNode varNode = node.newChild(variableId);
CSerializationID nameId = new CSerializationID("name");
varNode.setAttr(nameId, this.m_name);
CSerializationID valueId = new CSerializationID("value");
varNode.setAttr(valueId, this.m_value);
}
示例14: Save
private void Save(ISerializableNode node)
{
CSerializationID variablesId = new CSerializationID("vars");
ISerializableNode varsNode = node.newChild(variablesId);
var e = this.m_variables.Values.GetEnumerator();
while (e.MoveNext())
{
e.Current.Save(varsNode);
}
}
示例15: Load
public void Load(ISerializableNode node)
{
this.load(node);
}