• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Find类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Find的典型用法代码示例。如果您正苦于以下问题:C# Find类的具体用法?C# Find怎么用?C# Find使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Find类属于命名空间,在下文中一共展示了Find类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Find

 private static bool Find(object[] parameters, Find findObject)
 {
     return
         (bool)
             findObject.GetType()
                 .InvokeMember("Execute", BindingFlags.InvokeMethod, null, findObject, parameters);
 }
开发者ID:innovaciiv,项目名称:Netping_modern,代码行数:7,代码来源:WordRange.cs


示例2: DomFinder

        public DomFinder(string htmlText)
        {
            HtmlTreeBuilder treeBuilder = new HtmlTreeBuilder();
            var domRoot = treeBuilder.BuildDomTree(htmlText, true);

            BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Instance;
            _find = Activator.CreateInstance(typeof(Find), flags, null, new object[] { domRoot }, null) as Find;
        }
开发者ID:xioxu,项目名称:StockDataSpider,代码行数:8,代码来源:DomFinder.cs


示例3: Execute

 private static bool Execute(Find finder, ref int count)
 {
     try
     {
         var result = finder.Execute(Replace: WdReplace.wdReplaceOne);
         if (result) count++;
         return result;
     }
     catch (Exception ex)
     {
         // ¬ыводить пользователю или записывать в лог.
         Trace.WriteLine(ex.Message);
         return true;
     }
 }
开发者ID:Dmdv,项目名称:InwordRemover,代码行数:15,代码来源:FinderExtenstion.cs


示例4: TestDescendantsAndSelfQueryTree

        public void TestDescendantsAndSelfQueryTree() {
            List<StringValue> values = new List<StringValue>() {
                new StringValue() {
                    Data = "0"
                },
                new StringValue() {
                    Data = "1"
                },
                new StringValue() {
                    Data = "2"
                },
                new StringValue() {
                    Data = "3"
                }
            };

            // Create a tree of values. We will want to flatten and find each value after.
            IDatabaseObject query = new Find()
                .Method(
                    values[0]
                )
                .Method(
                    values[1]
                )
                .Method(
                    new Drop()
                    .Field(
                        values[2]
                        .Method(
                            new Save()
                            .Field(
                                values[3]
                            )
                        )
                    )
                );

            List<StringValue> descendants = query.DescendantsAndSelf<StringValue>().ToList();

            Assert.AreEqual(4, descendants.Count());
            
            foreach (StringValue item in descendants) {
                Assert.IsTrue(values.Contains(item));    
            }
        }
开发者ID:EBassie,项目名称:Potato,代码行数:45,代码来源:TestDatabaseObjectUtils.cs


示例5: FeedWidgetFrontend

 public FeedWidgetFrontend(Find find)
     : base(find)
 {
 }
开发者ID:rhullah,项目名称:feather-widgets,代码行数:4,代码来源:FeedWidgetFrontend.cs


示例6: GetCrittersSeeing

 public virtual uint GetCrittersSeeing(IList<Critter> critters, bool look_on_them, Find find_type, IList<Critter> critters_result)
 {
     if (critters == null)
         throw new ArgumentNullException ("critters");
     return Map_GetCrittersSeeing(thisptr, critters, look_on_them, (int)find_type, critters_result);
 }
开发者ID:SnakeSolidNL,项目名称:fosdk,代码行数:6,代码来源:Map.NativeMethods.cs


示例7: GetCrittersHex

 public virtual uint GetCrittersHex(ushort hx, ushort hy, uint radius, Find find_type, IList<Critter> critters)
 {
     return Map_GetCritters(thisptr, hx, hy, radius, (int)find_type, critters);
 }
开发者ID:SnakeSolidNL,项目名称:fosdk,代码行数:4,代码来源:Map.NativeMethods.cs


示例8: FeatherWidgetDesigner

 /// <summary>
 /// Initializes a new instance of the FeatherWidgetDesigner class.
 /// </summary>
 /// <param name="find">Find object for the current window.</param>
 public FeatherWidgetDesigner(Find find)
     : base(find)
 {
 }
开发者ID:jeffpignataro,项目名称:feather,代码行数:8,代码来源:FeatherWidgetDesigner.cs


示例9: FormsMap

 /// <summary>
 /// Initializes a new instance of the <see cref="FormsMap" /> class.
 /// </summary>        
 public FormsMap(Find find)
 {
     this.find = find;
 }
开发者ID:rhullah,项目名称:feather-widgets,代码行数:7,代码来源:FormsMap.cs


示例10: MediaSelectorScreen

 /// <summary>
 /// Initializes a new instance of the <see cref="MediaSelectorScreen" /> class.
 /// </summary>
 /// <param name="find">The find.</param>
 public MediaSelectorScreen(Find find)
     : base(find)
 {
 }
开发者ID:rhullah,项目名称:feather-widgets,代码行数:8,代码来源:MediaSelectorScreen.cs


示例11: AddReportDivFrame

 public AddReportDivFrame(Find find)
     : base(find)
 {
 }
开发者ID:ravi740136,项目名称:telerikprojects,代码行数:4,代码来源:Pages.g.cs


示例12: x1397736662531TextFrame

 public x1397736662531TextFrame(Find find)
     : base(find)
 {
 }
开发者ID:ravi740136,项目名称:telerikprojects,代码行数:4,代码来源:Pages.g.cs


示例13: ContentBlockWidgetScreen

 /// <summary>
 /// Initializes a new instance of the <see cref="ContentBlockWidgetScreen" /> class.
 /// </summary>
 /// <param name="find">The find.</param>
 public ContentBlockWidgetScreen(Find find)
     : base(find)
 {
 }
开发者ID:ParabolaSoftware,项目名称:feather-widgets,代码行数:8,代码来源:ContentBlockWidgetScreen.cs


示例14: ContentBlockLinkSelectorScreen

 /// <summary>
 /// Initializes a new instance of the <see cref="ContentBlockLinkSelectorScreen" /> class.
 /// </summary>
 /// <param name="find">The find.</param>
 public ContentBlockLinkSelectorScreen(Find find)
     : base(find)
 {
 }
开发者ID:ParabolaSoftware,项目名称:feather-widgets,代码行数:8,代码来源:ContentBlockLinkSelectorScreen.cs


示例15: NavigationWidgetEditScreen

 /// <summary>
 /// Initializes a new instance of the <see cref="NavigationWidgetEditScreen" /> class.
 /// </summary>
 /// <param name="find">The find.</param>
 public NavigationWidgetEditScreen(Find find)
     : base(find)
 {
 }
开发者ID:rhullah,项目名称:feather-widgets,代码行数:8,代码来源:NavigationWidgetEditScreen.cs


示例16: FramePegaGadget0IfrFrame

 public FramePegaGadget0IfrFrame(Find find)
     : base(find)
 {
 }
开发者ID:ravi740136,项目名称:telerikprojects,代码行数:4,代码来源:Pages.g.cs


示例17: PegaDesignerStudio0Page

 public PegaDesignerStudio0Page(string url, Find find)
     : base(url, find)
 {
     this._ownerBrowser = find.AssociatedBrowser;
 }
开发者ID:ravi740136,项目名称:telerikprojects,代码行数:5,代码来源:Pages.g.cs


示例18: ItemMiddleTableCellFrame

 public ItemMiddleTableCellFrame(Find find)
     : base(find)
 {
 }
开发者ID:ravi740136,项目名称:telerikprojects,代码行数:4,代码来源:Pages.g.cs


示例19: UsersListFrontend

 /// <summary>
 /// Initializes a new instance of the <see cref="UsersListFrontend" /> class.
 /// </summary>
 /// <param name="find">The find.</param>
 public UsersListFrontend(Find find)
     : base(find)
 {
 }
开发者ID:rhullah,项目名称:feather-widgets,代码行数:8,代码来源:UsersListFrontend.cs


示例20: FramePegaGadget1Ifr0Frame

 public FramePegaGadget1Ifr0Frame(Find find)
     : base(find)
 {
 }
开发者ID:ravi740136,项目名称:telerikprojects,代码行数:4,代码来源:Pages.g.cs



注:本文中的Find类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# FindCommandOperation类代码示例发布时间:2022-05-24
下一篇:
C# FinancialScheduledTransaction类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap