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


C# Runtime.WeakRefTracker类代码示例

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


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

示例1: Initialize

            private WeakRefTracker _tracker;        // storage for weak proxy's

            private void Initialize(Struct s) {
                _formatString = s._formatString;
                _formats = s._formats;
                _isStandardized = s._isStandardized;
                _isLittleEndian = s._isLittleEndian;
                _encodingCount = s._encodingCount;
                _encodingSize = s._encodingSize;
                _tracker = s._tracker;
            }
开发者ID:kevinkeeney,项目名称:ironruby,代码行数:11,代码来源:_struct.cs

示例2:

 void IWeakReferenceable.SetFinalizer(WeakRefTracker value) {
     _tracker = value;
 }
开发者ID:techarch,项目名称:ironruby,代码行数:3,代码来源:_functools.cs

示例3:

 bool IWeakReferenceable.SetWeakRef(WeakRefTracker value) {
     _weakRefTracker = value;
     return true;
 }
开发者ID:jcteague,项目名称:ironruby,代码行数:4,代码来源:socket.cs

示例4:

 void IWeakReferenceable.SetFinalizer(WeakRefTracker value) {
     UserTypeOps.SetFinalizerHelper(this, value);
 }
开发者ID:kevinkeeney,项目名称:ironruby,代码行数:3,代码来源:PythonExceptions.cs

示例5:

 void IWeakReferenceable.SetFinalizer(WeakRefTracker value) {
     ((IWeakReferenceable)this).SetWeakRef(value);
 }
开发者ID:joshholmes,项目名称:ironruby,代码行数:3,代码来源:Method.cs

示例6: SetWeakRef

 public bool SetWeakRef(WeakRefTracker value)
 {
     tracker = value;
     return true;
 }
开发者ID:FabioNascimento,项目名称:DICommander,代码行数:5,代码来源:array.cs

示例7: SetFinalizer

 public void SetFinalizer(WeakRefTracker value)
 {
     tracker = value;
 }
开发者ID:FabioNascimento,项目名称:DICommander,代码行数:4,代码来源:array.cs

示例8: EnsureDict

 bool IWeakReferenceable.SetWeakRef(WeakRefTracker value) {
     EnsureDict();
     _dict["__weakref__"] = value;
     return true;
 }
开发者ID:CookieEaters,项目名称:FireHTTP,代码行数:5,代码来源:PythonFunction.cs

示例9: EnsureDict

 bool IWeakReferenceable.SetWeakRef(WeakRefTracker value) {
     EnsureDict();
     _dict[Symbols.WeakRef] = value;
     return true;
 }
开发者ID:jcteague,项目名称:ironruby,代码行数:5,代码来源:PythonFunction.cs

示例10: SetFinalizer

 public void SetFinalizer(WeakRefTracker value)
 {
     SetWeakRef(value);
 }
开发者ID:FabioNascimento,项目名称:DICommander,代码行数:4,代码来源:re.cs

示例11: SetWeakRef

 public bool SetWeakRef(WeakRefTracker value) {
     return Interlocked.CompareExchange(ref _tracker, value, null) == null;
 }
开发者ID:m4dc4p,项目名称:ironruby,代码行数:3,代码来源:_struct.cs

示例12:

 void IWeakReferenceable.SetFinalizer(WeakRefTracker obj0) {
     UserTypeOps.SetFinalizerHelper((IPythonObject)this, obj0);
 }
开发者ID:CookieEaters,项目名称:FireHTTP,代码行数:3,代码来源:StaticUnderlyingSystemType.cs


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