当前位置: 首页>>代码示例>>C#>>正文


C# Storage.CreateLink方法代码示例

本文整理汇总了C#中Storage.CreateLink方法的典型用法代码示例。如果您正苦于以下问题:C# Storage.CreateLink方法的具体用法?C# Storage.CreateLink怎么用?C# Storage.CreateLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Storage的用法示例。


在下文中一共展示了Storage.CreateLink方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RtreeRnPage

 internal RtreeRnPage(Storage storage, object obj, RectangleRn r)
 {
     branch = storage.CreateLink(card);
     branch.Length = card;
     b = new RectangleRn[card];
     setBranch(0, new RectangleRn(r), obj);
     n = 1;
 }
开发者ID:yan122725529,项目名称:TripRobot.Crawler,代码行数:8,代码来源:RtreeRnPage.cs

示例2: RtreePage

 internal RtreePage(Storage storage, object obj, Rectangle r)
 {
     branch = storage.CreateLink(card);
     branch.Length = card;
     b = new Rectangle[card];
     setBranch(0, new Rectangle(r), obj);
     n = 1;
     for (int i = 1; i < card; i++)
     {
         b[i] = new Rectangle();
     }
 }
开发者ID:yan122725529,项目名称:TripRobot.Crawler,代码行数:12,代码来源:RtreePage.cs

示例3: RtreePage

 internal RtreePage(Storage storage, IPersistent obj, Rectangle r)
 {
     branch = storage.CreateLink(card);
     branch.Size = card;
     b = new Rectangle[card];
     SetBranch(0, new Rectangle(r), obj);
     n = 1;
     for (int i = 1; i < card; i++)
     {
         b[i] = new Rectangle();
     }
 }
开发者ID:kjk,项目名称:tenderbase,代码行数:12,代码来源:RtreePage.cs

示例4: RtreeR2Page

 internal RtreeR2Page(Storage storage, RtreeR2Page root, RtreeR2Page p)
 {
     branch = storage.CreateLink(card);
     branch.Size = card;
     b = new RectangleR2[card];
     n = 2;
     SetBranch(0, root.Cover(), root);
     SetBranch(1, p.Cover(), p);
     for (int i = 2; i < card; i++)
     {
         b[i] = new RectangleR2();
     }
 }
开发者ID:kjk,项目名称:tenderbase,代码行数:13,代码来源:RtreeR2Page.cs

示例5: OO7_AtomicPartImpl

 public OO7_AtomicPartImpl(Storage storage)
 {
     theToConnections = storage.CreateLink();
     theFromConnections = storage.CreateLink();
 }
开发者ID:kjk,项目名称:tenderbase,代码行数:5,代码来源:OO7_AtomicPartImpl.cs

示例6: OO7_ComplexAssemblyImpl

 public OO7_ComplexAssemblyImpl(Storage storage)
 {
     theSubAssemblies = storage.CreateLink();
 }
开发者ID:kjk,项目名称:tenderbase,代码行数:4,代码来源:OO7_ComplexAssemblyImpl.cs

示例7: BtreePage

 internal BtreePage(Storage s, int n)
     : base(s)
 {
     items = s.CreateLink(n);
     items.Size = n;
 }
开发者ID:kjk,项目名称:tenderbase,代码行数:6,代码来源:AltBtree.cs

示例8: BtreePageOfObject

 internal BtreePageOfObject(Storage s)
     : base(s, MAX_ITEMS)
 {
     data = s.CreateLink(MAX_ITEMS);
     data.Size = MAX_ITEMS;
 }
开发者ID:kjk,项目名称:tenderbase,代码行数:6,代码来源:AltBtree.cs

示例9: OO7_BaseAssemblyImpl

 public OO7_BaseAssemblyImpl(Storage storage)
 {
     theComponentsPriv = storage.CreateLink();
     theComponentsShar = storage.CreateLink();
 }
开发者ID:kjk,项目名称:tenderbase,代码行数:5,代码来源:OO7_BaseAssemblyImpl.cs


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