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

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

            pol.ApplyBaseReadWrite parentApply = func.ApplyBaseDefinition;

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

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

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

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

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

			tvwCondition.Nodes.Add( node );
			_condition.Arguments.Add( function );
		}
Exemplo n.º 6
0
		/// <summary>
		/// 
		/// </summary>
		/// <param name="function"></param>
		public FunctionParameter( pol.FunctionElementReadWrite function )
		{
			_function = function;

			this.Text = "Function: " + _function.FunctionId;
		}