private void CreateAttributeValue(object sender, EventArgs args) { pol.AttributeValueElementReadWrite attr = new pol.AttributeValueElementReadWrite(Xacml.Consts.Schema1.InternalDataTypes.XsdString, "TODO: Add content", Xacml.XacmlVersion.Version11); TreeNodes.AttributeValue node = new TreeNodes.AttributeValue(attr); tvwCondition.Nodes.Add(node); _condition.Arguments.Add(attr); }
private void CreateAttributeValueFromFunction(object sender, EventArgs args) { TreeNodes.FunctionExecution func = (TreeNodes.FunctionExecution)tvwCondition.SelectedNode; pol.ApplyBaseReadWrite parentApply = func.ApplyBaseDefinition; pol.AttributeValueElementReadWrite attr = new pol.AttributeValueElementReadWrite(Xacml.Consts.Schema1.InternalDataTypes.XsdString, "TODO: Add content", Xacml.XacmlVersion.Version11); TreeNodes.AttributeValue node = new TreeNodes.AttributeValue(attr); func.Nodes.Add(node); parentApply.Arguments.Add(attr); }
/// <summary> /// /// </summary> /// <param name="attributeValue"></param> public AttributeValue( pol.AttributeValueElementReadWrite attributeValue ) { _attributeValue = attributeValue; this.Text = "[" + attributeValue.DataType + "] " + attributeValue.Contents; }
/// <summary> /// /// </summary> /// <param name="attributeValue"></param> public AttributeValue(pol.AttributeValueElementReadWrite attributeValue) { _attributeValue = attributeValue; this.Text = "[" + attributeValue.DataType + "] " + attributeValue.Contents; }
private void CreateAttributeValueFromFunction( object sender, EventArgs args ) { TreeNodes.FunctionExecution func = (TreeNodes.FunctionExecution)tvwCondition.SelectedNode; pol.ApplyBaseReadWrite parentApply = func.ApplyBaseDefinition; pol.AttributeValueElementReadWrite attr = new pol.AttributeValueElementReadWrite( Xacml.Consts.Schema1.InternalDataTypes.XsdString, "TODO: Add content", Xacml.XacmlVersion.Version11 ); TreeNodes.AttributeValue node = new TreeNodes.AttributeValue( attr ); func.Nodes.Add( node ); parentApply.Arguments.Add( attr ); }
private void CreateAttributeValue( object sender, EventArgs args ) { pol.AttributeValueElementReadWrite attr = new pol.AttributeValueElementReadWrite( Xacml.Consts.Schema1.InternalDataTypes.XsdString, "TODO: Add content", Xacml.XacmlVersion.Version11 ); TreeNodes.AttributeValue node = new TreeNodes.AttributeValue( attr ); tvwCondition.Nodes.Add( node ); _condition.Arguments.Add( attr ); }