3 writes to cachedEntry
System.DirectoryServices (3)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (1)
1163subnet.cachedEntry = result.GetDirectoryEntry();
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnet.cs (2)
87subnet.cachedEntry = connectionEntry; 132cachedEntry = de.Children.Add(rdn, "subnet");
23 references to cachedEntry
System.DirectoryServices (23)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnet.cs (15)
235if (cachedEntry.Properties.Contains("location")) 236return (string)cachedEntry.Properties["location"][0]!; 255if (cachedEntry.Properties.Contains("location")) 256cachedEntry.Properties["location"].Clear(); 260cachedEntry.Properties["location"].Value = value; 283if (cachedEntry.Properties.Contains("siteObject")) 284cachedEntry.Properties["siteObject"].Clear(); 289cachedEntry.Properties["siteObject"].Value = _site.cachedEntry.Properties["distinguishedName"][0]; 291cachedEntry.CommitChanges(); 296cachedEntry.Properties["siteObject"].Add(_site!.cachedEntry.Properties["distinguishedName"][0]); 298cachedEntry.CommitChanges(); 323cachedEntry.Parent.Children.Remove(cachedEntry); 351return DirectoryEntryManager.GetDirectoryEntryInternal(context, cachedEntry.Path); 366cachedEntry?.Dispose();
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnetCollection.cs (8)
96string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.DistinguishedName)!; 101string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName)!; 124string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.DistinguishedName)!; 129string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName)!; 161string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.DistinguishedName)!; 166string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName)!; 210string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.DistinguishedName)!; 237string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.DistinguishedName)!;