protected override void _PopulateObject(ModuleStore obj, XElement element) { // Alternate data path handled by VixenSystem. ModuleStaticDataSet moduleData = _ReadModuleData(element); obj.Data = moduleData; }
private ModuleStaticDataSet _ReadModuleData(XElement element) { XElement moduleDataElement = element.Element(ELEMENT_MODULE_DATA); ModuleStaticDataSet moduleData = new ModuleStaticDataSet(); if (moduleDataElement != null) { moduleData.Deserialize(moduleDataElement.ToString()); } return(moduleData); }
protected override void _PopulateObject(UserData obj, XElement element) { bool isContext = _ReadContextFlag(element); Guid identity = _ReadIdentity(element); // Alternate data path handled by VixenSystem. ModuleStaticDataSet moduleData = _ReadModuleData(element); _channels = _ReadChannels(element); ChannelNode[] nodes = _ReadNodes(element); obj.IsContext = isContext; obj.Identity = identity; obj.ModuleData = moduleData; obj.Channels = _channels; obj.Nodes = nodes; }
public UserData() { Identity = Guid.NewGuid(); ModuleData = new ModuleStaticDataSet(); }
public ModuleStore() { TypeData = new ModuleStaticDataSet(); InstanceData = new ModuleLocalDataSet(); }