protected override void OnNodeSet() { if (LocalTypes == null) { var domNode = new DomNode(SledLuaSchema.SledLuaVarFilterTypesType.Type); var localTypes = domNode.As <SledLuaVarFilterTypesType>(); SetChild(SledLuaSchema.SledLuaVarFilterType.LocalTypesChild, localTypes); if (LocalTypes != null) { LocalTypes.SetAll(false); } } if (LocalNames == null) { var domNode = new DomNode(SledLuaSchema.SledLuaVarFilterNamesType.Type); var localNames = domNode.As <SledLuaVarFilterNamesType>(); SetChild(SledLuaSchema.SledLuaVarFilterType.LocalNamesChild, localNames); } if (TargetTypes == null) { var domNode = new DomNode(SledLuaSchema.SledLuaVarFilterTypesType.Type); var targetTypes = domNode.As <SledLuaVarFilterTypesType>(); SetChild(SledLuaSchema.SledLuaVarFilterType.TargetTypesChild, targetTypes); if (TargetTypes != null) { TargetTypes.SetAll(false); } } if (TargetNames == null) { var domNode = new DomNode(SledLuaSchema.SledLuaVarFilterNamesType.Type); var targetNames = domNode.As <SledLuaVarFilterNamesType>(); SetChild(SledLuaSchema.SledLuaVarFilterType.TargetNamesChild, targetNames); } base.OnNodeSet(); }