Ejemplo n.º 1
0
        private void CreateFunctionParameter(object sender, EventArgs args)
        {
            pol.FunctionElementReadWrite function = new pol.FunctionElementReadWrite("urn:new_function_param", Xacml.XacmlVersion.Version11);
            TreeNodes.FunctionParameter  node     = new TreeNodes.FunctionParameter(function);

            tvwCondition.Nodes.Add(node);
            _condition.Arguments.Add(function);
        }
Ejemplo n.º 2
0
        private void CreateFunctionParameterFromFunction(object sender, EventArgs args)
        {
            TreeNodes.FunctionExecution func        = (TreeNodes.FunctionExecution)tvwCondition.SelectedNode;
            pol.ApplyBaseReadWrite      parentApply = func.ApplyBaseDefinition;

            pol.FunctionElementReadWrite function = new pol.FunctionElementReadWrite("urn:new_function_param", Xacml.XacmlVersion.Version11);
            TreeNodes.FunctionParameter  node     = new TreeNodes.FunctionParameter(function);

            func.Nodes.Add(node);
            parentApply.Arguments.Add(function);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="function"></param>
        public FunctionParameter( pol.FunctionElementReadWrite function )
        {
            _function = function;

            this.Text = "Function: " + _function.FunctionId;
        }
Ejemplo n.º 4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="function"></param>
        public FunctionParameter(pol.FunctionElementReadWrite function)
        {
            _function = function;

            this.Text = "Function: " + _function.FunctionId;
        }
Ejemplo n.º 5
0
        private void CreateFunctionParameterFromFunction( object sender, EventArgs args )
        {
            TreeNodes.FunctionExecution func = (TreeNodes.FunctionExecution)tvwCondition.SelectedNode;
            pol.ApplyBaseReadWrite parentApply = func.ApplyBaseDefinition;

            pol.FunctionElementReadWrite function = new pol.FunctionElementReadWrite( "urn:new_function_param", Xacml.XacmlVersion.Version11 );
            TreeNodes.FunctionParameter node = new TreeNodes.FunctionParameter( function );

            func.Nodes.Add( node );
            parentApply.Arguments.Add( function );
        }
Ejemplo n.º 6
0
        private void CreateFunctionParameter( object sender, EventArgs args )
        {
            pol.FunctionElementReadWrite function = new pol.FunctionElementReadWrite( "urn:new_function_param", Xacml.XacmlVersion.Version11 );
            TreeNodes.FunctionParameter node = new TreeNodes.FunctionParameter( function );

            tvwCondition.Nodes.Add( node );
            _condition.Arguments.Add( function );
        }