Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="attributeValue"></param>
        public AttributeValue( pol.AttributeValueElementReadWrite attributeValue )
        {
            _attributeValue = attributeValue;

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

            this.Text = "[" + attributeValue.DataType + "] " + attributeValue.Contents;
        }
Exemplo n.º 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 );
        }
Exemplo n.º 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 );
        }