Skip to content

Commit

Permalink
Add ResolvePageObjectFullName method to UIComponentResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
YevgeniyShunevych committed Oct 16, 2023
1 parent 4d40146 commit 0c93dae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Atata/UIComponentResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,11 @@ private static Attribute[] ResolveClassAttributes(Type type)
private static Attribute[] GetAssemblyAttributes(Assembly assembly) =>
ResolveAndCacheAttributes(s_assemblyAttributes, assembly);

public static string ResolvePageObjectFullName<TPageObject>()
where TPageObject : PageObject<TPageObject>
=>
$"\"{ResolvePageObjectName<TPageObject>()}\" {ResolvePageObjectTypeName<TPageObject>()}";

public static string ResolvePageObjectName<TPageObject>()
where TPageObject : PageObject<TPageObject>
=>
Expand Down

0 comments on commit 0c93dae

Please sign in to comment.