using Confuser.Core; namespace Confuser.Renamer { public interface INameReference { /// /// Check if the element with this reference attached should be /// renamed at all. /// bool ShouldCancelRename { get; } /// /// Check if the renaming has to be delayed, because the referenced objects are not handled yet. /// /// The naming service /// /// in case the reference can't be resolved yet; /// otherwise . bool DelayRenaming(INameService service); /// /// Update the name reference. /// /// The confuser context /// The name service /// /// in case the name was updated; /// otherwise . /// /// /// is ///
- or -
/// is ///
bool UpdateNameReference(ConfuserContext context, INameService service); /// /// Get a description of this reference, containing the original /// names of the referenced objects. /// /// /// The name service used to get the original names; /// or /// /// Description of this reference. string ToString(INameService nameService); } public interface INameReference : INameReference { } }