Пример #1
0
        public RegistrationDefinition(MashupParseContext context, DirtyEvent dirtyEvent)
        {
            this.dirtyEvent = new DirtyEvent(dirtyEvent);
            XMLTagReader xMLTagReader = context.NewTagReader(RegistrationDefinition.RegistrationDefinitionTag);

            this.warpStyle = TransformationStyleFactory.ReadFromXMLAttribute(context);
            while (xMLTagReader.FindNextStartTag())
            {
                if (xMLTagReader.TagIs(PositionAssociation.XMLTag()))
                {
                    this.AddAssociation(new PositionAssociation(context, dirtyEvent));
                }
            }
        }
Пример #2
0
		public RegistrationDefinition(MashupParseContext context, DirtyEvent dirtyEvent)
		{
			this.dirtyEvent = new DirtyEvent(dirtyEvent);
			XMLTagReader xMLTagReader = context.NewTagReader(RegistrationDefinition.RegistrationDefinitionTag);
			this.warpStyle = TransformationStyleFactory.ReadFromXMLAttribute(context);
			while (xMLTagReader.FindNextStartTag())
			{
				if (xMLTagReader.TagIs(PositionAssociation.XMLTag()))
				{
					this.AddAssociation(new PositionAssociation(context, dirtyEvent));
				}
			}
		}