Skip to content

Instantly share code, notes, and snippets.

@fschwiet
Created July 11, 2011 05:58
Show Gist options
  • Save fschwiet/1075367 to your computer and use it in GitHub Desktop.
Save fschwiet/1075367 to your computer and use it in GitHub Desktop.
Microsoft.IIS.PowerShell.Framework.INamespaceNode
namespace Microsoft.IIS.PowerShell.Framework {
public interface INamespaceNode
{
// Methods
bool AddProperty(string propertyName, string propertyType, object index, bool force, object value);
void ClearData(ServerManager sm);
bool ClearProperty(Collection<string> propertyToClear);
PSObject GetProperty(Collection<string> providerSpecificPickList, object atIndex);
bool RemoveProperty(string propertyName, object index);
void RenameNode(string newName, CmdletProvider provider);
void ResetChildren(bool reRead);
bool SetProperty(PSObject propertyValue);
PSObject ToPSObject();
void UpdateData(PSObject data);
bool UpdateData(INamespaceNode source, ServerManager sm, bool recurse);
bool UpdateProperty(string name, object value);
// Properties
SortedList<string, INamespaceNode> Children { get; }
object DataElement { get; }
string InstanceXPath { get; }
string InternalPath { get; }
bool IsContainer { get; }
string Name { get; }
INamespaceNode Parent { get; }
Dictionary<string, object> Properties { get; }
TypeInfo TypeInfo { get; }
TypeManager TypeManager { get; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment