This documentation is archived and is not being maintained.

IdentityPropertiesView Class

This is a wrapper class for an Identity that makes it convenient for working with its properties.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

public ref class IdentityPropertiesView abstract

The IdentityPropertiesView type exposes the following members.

  NameDescription
Public propertyEffectiveNamespaceEffective property name prefix for view property methods. Its value is: Namespace + NamespaceSuffix
Public propertyIdentity
Protected propertyNamespaceProperty namespace for the view properties. By default the full name of view type will be the prefix for property names.
Public propertyNamespaceSuffixExtra namespace modifier for view customization
Top

  NameDescription
Public methodClearPropertiesUnder(String)
Public methodClearPropertiesUnder(IdentityPropertyScope, String)
Public methodClearViewProperties()
Public methodClearViewProperties(IdentityPropertyScope)
Public methodStatic memberCreateView<T>(TeamFoundationRequestContext, IdentityPropertiesView)
Public methodStatic memberCreateView<T>(TeamFoundationRequestContext, Guid)
Public methodStatic memberCreateView<T>(TeamFoundationRequestContext, IdentityPropertiesView, String)
Public methodStatic memberCreateView<T>(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>)
Public methodStatic memberCreateView<T>(TeamFoundationRequestContext, Guid, String)
Public methodStatic memberCreateView<T>(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, IdentityPropertyScope)
Public methodStatic memberCreateView<T>(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String)
Public methodStatic memberCreateView<T>(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String, IdentityPropertyScope)
Protected methodEnsureIdentityAndProperties
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetProperties()Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names.
Public methodGetProperties(IdentityPropertyScope)Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names.
Public methodGetPropertiesStartsWith(String)
Public methodGetPropertiesStartsWith(IdentityPropertyScope, String)
Public methodGetProperty(String)Property accessor. Will throw if not found.
Public methodGetProperty(IdentityPropertyScope, String)Property accessor. Will throw if not found.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetViewProperties()Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names.
Public methodGetViewProperties(IdentityPropertyScope)Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names.
Public methodGetViewProperty(String)Gets a property value with the view namespace.
Public methodGetViewProperty(IdentityPropertyScope, String)Gets a property value with the view namespace.
Protected methodGetViewPropertyFilters
Protected methodInitialize(TeamFoundationRequestContext, IdentityPropertiesView, String)
Protected methodInitialize(TeamFoundationRequestContext, Guid, String)
Protected methodInitialize(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String, IdentityPropertyScope)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodMergePropertyFilters
Public methodRemoveProperty(String)Remove property, if it exists.
Public methodRemoveProperty(IdentityPropertyScope, String)Remove property, if it exists.
Public methodRemoveViewProperty(String)Remove view property, if it exists.
Public methodRemoveViewProperty(IdentityPropertyScope, String)Remove view property, if it exists.
Public methodSetProperty(String, Object)Sets a property, will overwrite if already set.
Public methodSetProperty(IdentityPropertyScope, String, Object)Sets a property, will overwrite if already set.
Public methodSetViewProperty(String, Object)Sets a property value with the view namespace.
Public methodSetViewProperty(IdentityPropertyScope, String, Object)Sets a property value with the view namespace.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryGetProperty(String, Object%)Property accessor. Will return null if not found.
Public methodTryGetProperty(IdentityPropertyScope, String, Object%)
Public methodTryGetViewProperty(String, Object%)Try get a property value with the view namespace.
Public methodTryGetViewProperty(IdentityPropertyScope, String, Object%)Try get a property value with the view namespace.
Public methodUpdatePersist Team updates.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: