示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="attributeValue"></param>
        public AttributeValue( pol.AttributeValueElementReadWrite attributeValue )
        {
            _attributeValue = attributeValue;

            this.Text = "[" + attributeValue.DataType + "] " + attributeValue.Contents;
        }
示例#4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="attributeValue"></param>
        public AttributeValue(pol.AttributeValueElementReadWrite attributeValue)
        {
            _attributeValue = attributeValue;

            this.Text = "[" + attributeValue.DataType + "] " + attributeValue.Contents;
        }
示例#5
0
        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 );
        }
示例#6
0
        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 );
        }