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

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

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