private void CreateActionAttributeDesignator(object sender, EventArgs args) { pol.ActionAttributeDesignatorElement att = new pol.ActionAttributeDesignatorElement(string.Empty, false, "TODO: Add attribute id", string.Empty, XacmlVersion.Version11); AttributeDesignator node = new AttributeDesignator(att); tvwCondition.Nodes.Add(node); _condition.Arguments.Add(att); }
private void CreateActionAttributeDesignatorFromFunction(object sender, EventArgs args) { FunctionExecution func = (FunctionExecution)tvwCondition.SelectedNode; pol.ApplyBaseReadWrite parentApply = func.ApplyBaseDefinition; pol.ActionAttributeDesignatorElement att = new pol.ActionAttributeDesignatorElement(string.Empty, false, "TODO: Add attribute id", string.Empty, XacmlVersion.Version11); AttributeDesignator node = new AttributeDesignator(att); func.Nodes.Add(node); parentApply.Arguments.Add(att); }
private void CreateActionAttributeDesignatorFromFunction( object sender, EventArgs args ) { FunctionExecution func = (FunctionExecution)tvwCondition.SelectedNode; pol.ApplyBaseReadWrite parentApply = func.ApplyBaseDefinition; pol.ActionAttributeDesignatorElement att = new pol.ActionAttributeDesignatorElement( string.Empty, false, "TODO: Add attribute id", string.Empty ,XacmlVersion.Version11 ); AttributeDesignator node = new AttributeDesignator( att ); func.Nodes.Add( node ); parentApply.Arguments.Add( att ); }
private void CreateActionAttributeDesignator( object sender, EventArgs args ) { pol.ActionAttributeDesignatorElement att = new pol.ActionAttributeDesignatorElement( string.Empty, false, "TODO: Add attribute id", string.Empty ,XacmlVersion.Version11 ); AttributeDesignator node = new AttributeDesignator( att ); tvwCondition.Nodes.Add( node ); _condition.Arguments.Add( att ); }