public static PolicyDirective AsAliasedDirective(this PolicyDirectiveElement element, string name, string oldName) { if (element == null) { return(null); } return(element.ToAliasedDirective(name, oldName)); }
public static PolicyDirective AsDirective(this PolicyDirectiveElement element, string name) { if (element == null) { return(null); } return(element.ToDirective(name)); }