다음을 통해 공유


TeamPropertiesView Class

Base abstract class for all team view objects. Team view objects follows facade pattern. In this regard team view objects provide easy way to access complex or domain specific properties that require further insight on how they are stored in the team property bag and how they should be presented to the outside world. The view objects can consume other view objects, such as a view object that manages Agile experience specific team properties can use another view object that manages work item tracking related properties, i.e. which work item type in a project represents bug work items, for the team.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public MustInherit Class TeamPropertiesView _
    Inherits IdentityPropertiesView
public abstract class TeamPropertiesView : IdentityPropertiesView
public ref class TeamPropertiesView abstract : public IdentityPropertiesView
[<AbstractClass>]
type TeamPropertiesView =  
    class 
        inherit IdentityPropertiesView 
    end
public abstract class TeamPropertiesView extends IdentityPropertiesView

The TeamPropertiesView type exposes the following members.

Constructors

  Name Description
Protected method TeamPropertiesView

Top

Properties

  Name Description
Public property EffectiveNamespace Effective property name prefix for view property methods. Its value is: Namespace + NamespaceSuffix (Inherited from IdentityPropertiesView.)
Public property Identity (Inherited from IdentityPropertiesView.)
Protected property Namespace Property namespace for the view properties. By default the full name of view type will be the prefix for property names. (Inherited from IdentityPropertiesView.)
Public property NamespaceSuffix Extra namespace modifier for view customization (Inherited from IdentityPropertiesView.)
Public property ReadPropertyScope
Public property Team The team associated with the view instance.

Top

Methods

  Name Description
Public method ClearPropertiesUnder(String) (Inherited from IdentityPropertiesView.)
Public method ClearPropertiesUnder(IdentityPropertyScope, String) (Inherited from IdentityPropertiesView.)
Public method ClearViewProperties() (Inherited from IdentityPropertiesView.)
Public method ClearViewProperties(IdentityPropertyScope) (Inherited from IdentityPropertiesView.)
Protected method EnsureIdentityAndProperties (Inherited from IdentityPropertiesView.)
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. (Inherited from IdentityPropertiesView.)
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. (Inherited from IdentityPropertiesView.)
Public method GetPropertiesStartsWith(String) (Inherited from IdentityPropertiesView.)
Public method GetPropertiesStartsWith(IdentityPropertyScope, String) (Inherited from IdentityPropertiesView.)
Public method GetProperty(String) Property accessor. Will throw if not found. (Inherited from IdentityPropertiesView.)
Public method GetProperty(IdentityPropertyScope, String) Property accessor. Will throw if not found. (Inherited from IdentityPropertiesView.)
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. (Inherited from IdentityPropertiesView.)
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. (Inherited from IdentityPropertiesView.)
Public method GetViewProperty(String) Gets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method GetViewProperty(IdentityPropertyScope, String) Gets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Protected method GetViewPropertyFilters (Inherited from IdentityPropertiesView.)
Protected method Initialize(TeamFoundationRequestContext, TeamFoundationTeam)
Protected method Initialize(TeamFoundationRequestContext, Guid, String) (Inherited from IdentityPropertiesView.)
Protected method Initialize(TeamFoundationRequestContext, IdentityPropertiesView, String) (Overrides IdentityPropertiesView.Initialize(TeamFoundationRequestContext, IdentityPropertiesView, String).)
Protected method Initialize(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String, IdentityPropertyScope) (Inherited from IdentityPropertiesView.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MergePropertyFilters (Inherited from IdentityPropertiesView.)
Public method RemoveProperty(String) Remove property, if it exists. (Inherited from IdentityPropertiesView.)
Public method RemoveProperty(IdentityPropertyScope, String) Remove property, if it exists. (Inherited from IdentityPropertiesView.)
Public method RemoveViewProperty(String) Remove view property, if it exists. (Inherited from IdentityPropertiesView.)
Public method RemoveViewProperty(IdentityPropertyScope, String) Remove view property, if it exists. (Inherited from IdentityPropertiesView.)
Public method SetProperty(String, Object) Sets a property, will overwrite if already set. (Inherited from IdentityPropertiesView.)
Public method SetProperty(IdentityPropertyScope, String, Object) Sets a property, will overwrite if already set. (Inherited from IdentityPropertiesView.)
Public method SetViewProperty(String, Object) Sets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method SetViewProperty(IdentityPropertyScope, String, Object) Sets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
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. (Inherited from IdentityPropertiesView.)
Public method TryGetProperty(IdentityPropertyScope, String, Object%) (Inherited from IdentityPropertiesView.)
Public method TryGetViewProperty(String, Object%) Try get a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method TryGetViewProperty(IdentityPropertyScope, String, Object%) Try get a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method Update Persist Team updates. (Inherited from IdentityPropertiesView.)

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.Server.Core Namespace