- The PropertyValueCollection class doesn't mark its data as dirty/changed in
- this[int index] setter
- Insert()
- Remove()
- Value setter
The DirectoryEntry class doesn't handle the clearing of an attribute (see
CommitEntry())
Patch from Juraj Skripsky that fixes bug #416985.
svn path=/trunk/mcs/; revision=126522
* DirectoryEntry.cs: Use typeof(LdapModification) instead of
Type.GetType and actually use the value afterward.
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]
* SearchResultCollection.cs: Avoid infinite recursion in
Contains(SearchResult).
[Found using Gendarme BadRecursiveInvocationRule]
svn path=/trunk/mcs/; revision=107339
2006-12-28 Jon Larimer <[email protected]>
* DirectorySearcher.cs: When using
System.DirectoryServices.DirectorySearcher to query a Windows
Active Directory Server, the results will almost always contain
referal nodes. These can probably be ignored, as there are also
svn path=/trunk/mcs/; revision=70180
- Implemented UsePropertyCache.
- Refresh entry after Rename and MoveTo.
- CommitChanges : do not send request to server if no properties changed. Drop new flag after committing newly created entry.
- Disconnect only if connected in Close(). Clean up Dispose().
- Removed unnecessary console output.
PropertyCollection.cs : Hold reference to parent DirectoryEntry.
PropertyValueCollection.cs : Hold reference to parent DirectoryEntry. Call parent's CommitDeferred on collection changes.
svn path=/trunk/mcs/; revision=42415
- Use common TimeSpan object to initialize properties default values.
- DoSearch uses SizeLimit and ServerTimeLimit. Do not throw if sie limit or time limit occurs on the server.
- Construct ADsPath property from resulting entry path.
- Implemented Dispose method.
svn path=/trunk/mcs/; revision=42414
- ClientTimeout and ServerPageTimeLimit initialized to 1 second.
- SizeLimit initialized to 0.
- Setting SizeLimit to negative value throws an exception.
- Added private variable for ServerTime Limit.
- Avoid infinite loop in CacheResults.
- Removed emptycol, search result lazy evaluated intead of this.
- If the search did not return results, FindOne() should returns null.
- ADsPath property always loaded, or created from DN.
svn path=/trunk/mcs/; revision=42068
* PropertyValueCollection.cs: the Value property for an empty collection
is now null and setting Value to null clears the collection. Patch by
Boris Kirzner (Mainsoft).
svn path=/trunk/mcs/; revision=41815
* DirectoryServicesPermission.cs: Completed TODO.
* DirectoryServicesPermissionAttribute.cs: Added path validation and
enable the creation of unrestricted permissions.
* DirectoryServicesPermissionEntry.cs: Add internal method to return
an ResourcePermissionBaseEntry instance.
* DirectoryServicesPermissionEntryCollection.cs: Allow synchronization
of elements with the base permission class (required to enable Copy).
svn path=/trunk/mcs/; revision=33710
* DirectoryServicesPermissionEntry.cs: fixed serialization
compatibility with MS.NET
* DirectoryServicesPermissionEntryCollection.cs: marked serializable,
added TODO for serialization compatibility
* ReferralChasingOption.cs: changed enum field values to match MS.NET
svn path=/trunk/mcs/; revision=29739
* DirectoryEntry.cs: added protected override for Dispose, marked
properties TODO
* DirectoryServicesPermissionEntryCollection.cs: added stubs for
missing protected methods
* PropertyCollection.cs: flagged field private to fix public API
* PropertyValueCollection.cs: removed empty extra methods, added
stub for missing methods to fix public API
* SearchResult.cs: removed unused local variable
* SearchResultCollection.cs: flagged field private to fix public
API, added missing property Dispose method and finalizer
svn path=/trunk/mcs/; revision=28771