0

Is this possible to create something like Find.Elements.By.Name(string name) using fluent api design pattern in c#? If so, how?

Jason
  • 1,680
  • 3
  • 13
  • 16

1 Answers1

0

A way to implement this:

    public class Find
    {
        public struct Elements
        {
            public struct By
            {
                public static WindowsElement Name(string name)
                {
                    // code here
                }
            }
        }
    }
Jason
  • 1,680
  • 3
  • 13
  • 16