Click or drag to resize
RepositoryLocationsCollection Class
Class represents collection of file locations in the repository that are all used for deserialization of one object.
Inheritance Hierarchy
SystemObject
  CMS.ContinuousIntegration.InternalRepositoryLocationsCollection

Namespace: CMS.ContinuousIntegration.Internal
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 11.0.0
Syntax
C#
public class RepositoryLocationsCollection : IEnumerable<string>, 
	IEnumerable, IEquatable<RepositoryLocationsCollection>, ICloneable

The RepositoryLocationsCollection type exposes the following members.

Constructors
  NameDescription
Public methodRepositoryLocationsCollection
Creates a new instance of file locations collection.
Public methodRepositoryLocationsCollection(IEnumerableString)
Creates a new instance of file locations collection with given locations within.
Public methodRepositoryLocationsCollection(String)
Creates a new instance of file locations collection with single location within.
Top
Properties
  NameDescription
Public propertyMainLocations
Usually there is only one main location in this collection, unless stored object is a wrapper for multiple (wrapped) objects that exists separately.
Public propertyStructuredLocations
Collection of StructuredLocations with main location of an object and set of all additional file locations, where other parts of the (main) object are stored.
Top
Methods
  NameDescription
Public methodAdd
Adds location to the collection.

If mainLocation or additionalLocation already exists, it is not added for second time.

Single mainLocation can have multiple different additionalLocations.

Public methodClone
Creates a new object that is a copy of the current instance.
Public methodCode exampleClone(FuncString, String)
Creates a new object that is a copy of the current instance using locationTransform function.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object).)
Public methodEquals(RepositoryLocationsCollection)
Indicates whether the current object is equal to another object of the same type.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection of individual, unstructured (see StructuredLocations) locations.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Top
Extension Methods
  NameDescription
Public Extension MethodBatchString
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodJoin
Joins the given list of values with a given separator.
(Defined by HelpersExtensions.)
Public Extension MethodToHashSetString
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
Remarks
Serialization of common info object results in single location stored in the collection (path to its XML file). Collection might contain multiple MainLocations if the serialized object is wrapper (e.g. document). Once an object defines non-empty SeparatedFields, single main location will contain multiple locations for these separated will. Separated fields of a serialized info object can be found in StructuredLocations collection.
See Also