BuildingCoder.CmdCollectorPerformance.FilterRule C# (CSharp) 메소드

FilterRule() 개인적인 정적인 메소드

private static FilterRule ( Document doc, string familySymbolName ) : IList
doc Document
familySymbolName string
리턴 IList
        private static IList<Element> FilterRule( Document doc, string familySymbolName )
        {
            IList<Element> elements
            = GetStructuralColumnSymbolCollector( doc )
              .WherePasses(
            new ElementParameterFilter(
              new FilterStringRule(
                new ParameterValueProvider( new ElementId( BuiltInParameter.SYMBOL_NAME_PARAM ) ),
                new FilterStringEquals(), familySymbolName, true ) ) )
              .ToElements();

              return elements;
        }