Delen via


IdentityPropertiesView Class

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

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.IdentityPropertiesView
    Microsoft.TeamFoundation.Framework.Server.IdentityFavorites
    Microsoft.TeamFoundation.Server.Core.TeamFoundationTeam
    Microsoft.TeamFoundation.Server.Core.TeamPropertiesView

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

Syntax

'Declaration
Public MustInherit Class IdentityPropertiesView
public abstract class IdentityPropertiesView
public ref class IdentityPropertiesView abstract
[<AbstractClass>]
type IdentityPropertiesView =  class end
public abstract class IdentityPropertiesView

The IdentityPropertiesView type exposes the following members.

Constructors

  Name Description
Protected method IdentityPropertiesView

Top

Properties

  Name Description
Public property EffectiveNamespace Effective property name prefix for view property methods. Its value is: Namespace + NamespaceSuffix
Public property Identity
Protected property Namespace Property namespace for the view properties. By default the full name of view type will be the prefix for property names.
Public property NamespaceSuffix Extra namespace modifier for view customization

Top

Methods

  Name Description
Public method ClearPropertiesUnder(String)
Public method ClearPropertiesUnder(IdentityPropertyScope, String)
Public method ClearViewProperties()
Public method ClearViewProperties(IdentityPropertyScope)
Public methodStatic member CreateView<T>(TeamFoundationRequestContext, IdentityPropertiesView)
Public methodStatic member CreateView<T>(TeamFoundationRequestContext, Guid)
Public methodStatic member CreateView<T>(TeamFoundationRequestContext, IdentityPropertiesView, String)
Public methodStatic member CreateView<T>(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>)
Public methodStatic member CreateView<T>(TeamFoundationRequestContext, Guid, String)
Public methodStatic member CreateView<T>(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, IdentityPropertyScope)
Public methodStatic member CreateView<T>(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String)
Public methodStatic member CreateView<T>(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String, IdentityPropertyScope)
Protected method EnsureIdentityAndProperties
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetProperties() 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 method GetProperties(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 method GetPropertiesStartsWith(String)
Public method GetPropertiesStartsWith(IdentityPropertyScope, String)
Public method GetProperty(String) Property accessor. Will throw if not found.
Public method GetProperty(IdentityPropertyScope, String) Property accessor. Will throw if not found.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetViewProperties() 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 method GetViewProperties(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 method GetViewProperty(String) Gets a property value with the view namespace.
Public method GetViewProperty(IdentityPropertyScope, String) Gets a property value with the view namespace.
Protected method GetViewPropertyFilters
Protected method Initialize(TeamFoundationRequestContext, IdentityPropertiesView, String)
Protected method Initialize(TeamFoundationRequestContext, Guid, String)
Protected method Initialize(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String, IdentityPropertyScope)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MergePropertyFilters
Public method RemoveProperty(String) Remove property, if it exists.
Public method RemoveProperty(IdentityPropertyScope, String) Remove property, if it exists.
Public method RemoveViewProperty(String) Remove view property, if it exists.
Public method RemoveViewProperty(IdentityPropertyScope, String) Remove view property, if it exists.
Public method SetProperty(String, Object) Sets a property, will overwrite if already set.
Public method SetProperty(IdentityPropertyScope, String, Object) Sets a property, will overwrite if already set.
Public method SetViewProperty(String, Object) Sets a property value with the view namespace.
Public method SetViewProperty(IdentityPropertyScope, String, Object) Sets a property value with the view namespace.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetProperty(String, Object%) Property accessor. Will return null if not found.
Public method TryGetProperty(IdentityPropertyScope, String, Object%)
Public method TryGetViewProperty(String, Object%) Try get a property value with the view namespace.
Public method TryGetViewProperty(IdentityPropertyScope, String, Object%) Try get a property value with the view namespace.
Public method Update Persist Team updates.

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace