TestimoX

API Reference

Class

AdMigrationAttributeCopyPolicy

Namespace ADPlayground.Migrations.Directory
Assembly ADPlayground
Modifiers static

Defines which directory attributes may be copied during migration object preparation.

Inheritance

  • Object
  • AdMigrationAttributeCopyPolicy

Methods

public static IReadOnlyList<String> GetAllowedAttributes(IEnumerable<String> attributeNames) #
Returns: IReadOnlyList<String>

Gets allowed attribute names from a requested attribute set.

Parameters

attributeNames System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
Requested attribute names.

Returns

Allowed attribute names.

public static IReadOnlyList<String> GetBlockedAttributes(IEnumerable<String> attributeNames) #
Returns: IReadOnlyList<String>

Gets blocked attribute names from a requested attribute set.

Parameters

attributeNames System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
Requested attribute names.

Returns

Blocked attribute names.

public static Boolean IsBlockedAttribute(String attributeName) #
Returns: Boolean

Gets a value indicating whether an attribute is blocked by the migration safety policy.

Parameters

attributeName System.String requiredposition: 0
Attribute name.

Returns

true when the attribute is blocked.

public static IReadOnlyList<String> Normalize(IEnumerable<String> attributeNames) #
Returns: IReadOnlyList<String>

Normalizes requested attribute names.

Parameters

attributeNames System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
Requested attribute names.

Returns

Distinct normalized attribute names.