private void CreateAttributeValue( object sender, EventArgs args ) { pol.AttributeValueElementReadWrite attr = new pol.AttributeValueElementReadWrite( InternalDataTypes.XsdString, "TODO: Add content", XacmlVersion.Version11 ); AttributeValue node = new AttributeValue( attr ); tvwCondition.Nodes.Add( node ); _condition.Arguments.Add( attr ); }
private void CreateAttributeValueFromFunction( object sender, EventArgs args ) { FunctionExecution func = (FunctionExecution)tvwCondition.SelectedNode; pol.ApplyBaseReadWrite parentApply = func.ApplyBaseDefinition; pol.AttributeValueElementReadWrite attr = new pol.AttributeValueElementReadWrite( InternalDataTypes.XsdString, "TODO: Add content", XacmlVersion.Version11 ); AttributeValue node = new AttributeValue( attr ); func.Nodes.Add( node ); parentApply.Arguments.Add( attr ); }