Find() public static method

public static Find ( string fileName ) : BuilderInfo
fileName string
return BuilderInfo
Example #1
0
        /// <summary>
        /// Call to set the builder based on the file name
        /// </summary>
        /// <param name="fileName"></param>
        public bool SetBuilder(string fileName)
        {
            var builder = BuilderInfo.Find(fileName);

            SetBuilder(builder);
            return(builder != null);
        }
Example #2
0
 public bool SetBuilder(string fileName)
 {
     Builder          = BuilderInfo.Find(fileName);
     interfaceBuilder = Builder?.CreateBuilder();
     return(Builder != null);
 }