Thinktecture.Tools.Web.Services.CodeGeneration.R2DPortType.SetupRelations C# (CSharp) Method

SetupRelations() public method

public SetupRelations ( ElementStore store, Rpc2DocumentLiteralTranslator trans ) : void
store ElementStore
trans Rpc2DocumentLiteralTranslator
return void
        public void SetupRelations(ElementStore store, Rpc2DocumentLiteralTranslator trans)
        {
            foreach (XmlElement op in elem)
            {
                if (op.LocalName == "operation")
                {
                    operations.Add((R2DOperation) store.Operations[trans.Normalize(op.Attributes["name"].Value)]);
                }
            }
        }