Esempio n. 1
0
 /// <summary>
 /// Reset the asset member to its base value.
 /// </summary>
 /// <param name="assetMember">The asset member to reset</param>
 /// <returns>The list of inheriting members that should to be recursively reset</returns>
 public IEnumerable<AssetMember> Reset(AssetMember assetMember)
 {
     return Reset(assetMember.Asset, assetMember.MemberPath);
 }
Esempio n. 2
0
 /// <summary>
 /// Set the asset member.
 /// </summary>
 /// <param name="assetMember">The asset member to set</param>
 /// <param name="action">The action to perform on the member</param>
 /// <param name="value">The value to set to the member</param>
 /// <returns>The list of inheriting members that should to be reset</returns>
 public IEnumerable<AssetMember> Set(AssetMember assetMember, MemberPathAction action, object value)
 {
     return Set(assetMember.Asset, assetMember.MemberPath, action, value);
 }
Esempio n. 3
0
 /// <summary>
 /// Indicate if the referred member can be modified or not due to sealing.
 /// </summary>
 /// <param name="assetMember">The asset member to modify</param>
 /// <returns><value>true</value> if it can be modified</returns>
 public bool CanBeModified(AssetMember assetMember)
 {
     return CanBeModified(assetMember.Asset, assetMember.MemberPath);
 }
Esempio n. 4
0
 /// <summary>
 /// Seal the asset member.
 /// </summary>
 /// <param name="assetMember">The asset member to seal</param>
 /// <param name="isRecursive">Indicate if the seal is recursive or not</param>
 /// <returns>The list of inheriting members that should to be reset</returns>
 public IEnumerable<AssetMember> Seal(AssetMember assetMember, bool isRecursive)
 {
     return Seal(assetMember.Asset, assetMember.MemberPath, isRecursive);
 }
Esempio n. 5
0
 /// <summary>
 /// Indicate if the referred member can be modified or not due to sealing.
 /// </summary>
 /// <param name="assetMember">The asset member to modify</param>
 /// <returns><value>true</value> if it can be modified</returns>
 public bool CanBeModified(AssetMember assetMember)
 {
     return(CanBeModified(assetMember.Asset, assetMember.MemberPath));
 }
Esempio n. 6
0
 /// <summary>
 /// Set the asset member.
 /// </summary>
 /// <param name="assetMember">The asset member to set</param>
 /// <param name="action">The action to perform on the member</param>
 /// <param name="value">The value to set to the member</param>
 /// <returns>The list of inheriting members that should to be reset</returns>
 public IEnumerable <AssetMember> Set(AssetMember assetMember, MemberPathAction action, object value)
 {
     return(Set(assetMember.Asset, assetMember.MemberPath, action, value));
 }
Esempio n. 7
0
 /// <summary>
 /// Seal the asset member.
 /// </summary>
 /// <param name="assetMember">The asset member to seal</param>
 /// <param name="isRecursive">Indicate if the seal is recursive or not</param>
 /// <returns>The list of inheriting members that should to be reset</returns>
 public IEnumerable <AssetMember> Seal(AssetMember assetMember, bool isRecursive)
 {
     return(Seal(assetMember.Asset, assetMember.MemberPath, isRecursive));
 }
Esempio n. 8
0
 /// <summary>
 /// Reset the asset member to its base value.
 /// </summary>
 /// <param name="assetMember">The asset member to reset</param>
 /// <returns>The list of inheriting members that should to be recursively reset</returns>
 public IEnumerable <AssetMember> Reset(AssetMember assetMember)
 {
     return(Reset(assetMember.Asset, assetMember.MemberPath));
 }