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


C# PhpStack.RemoveFrame方法代码示例

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


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

示例1: item

		public static object item(object instance, PhpStack stack)
		{
			stack.CalleeName = "item";
			
			object arg1 = stack.PeekValue(1);
			stack.RemoveFrame();
			return ((DOMNodeList)instance).item(stack.Context, arg1);
		}
开发者ID:jdluzen,项目名称:Phalanger,代码行数:8,代码来源:DomCollections.dynamic.cs

示例2: __construct

		public static object __construct(object instance, PhpStack stack)
		{
			stack.CalleeName = "__construct";
			
			object arg1 = stack.PeekValue(1);
			stack.RemoveFrame();
			return ((DOMXPath)instance).__construct(stack.Context, arg1);
		}
开发者ID:jdluzen,项目名称:Phalanger,代码行数:8,代码来源:DomXPath.dynamic.cs

示例3: Foo

        public static object Foo(object instance, PhpStack stack)
        {
            // setup the stack, get arguments from the stack
            stack.CalleeName = "Foo";
            object arg1 = stack.PeekValue(1);
            stack.RemoveFrame();

            // call the actual Foo with arguments obtained from the stack
            return ((MyPhpClass)instance).Foo(stack.Context, arg1);
        }
开发者ID:dw4dev,项目名称:Phalanger,代码行数:10,代码来源:Class.dynamic.cs

示例4: __soapCall

		public static object __soapCall(object instance, PhpStack stack)
		{
			stack.CalleeName = "__soapCall";
			
			object arg1 = stack.PeekValue(1);
			
			object arg2 = stack.PeekValue(2);
			stack.RemoveFrame();
			return ((SoapClient)instance).__soapCall(stack.Context, arg1, arg2);
		}
开发者ID:proff,项目名称:Phalanger,代码行数:10,代码来源:SoapClient.dynamic.cs

示例5: __construct

        public static object __construct(object instance, PhpStack stack)
        {
            object argFileName = stack.PeekValue(1);
            object argMode = stack.PeekValueOptional(2);
            PhpReference error = stack.PeekReferenceOptional(3);
            stack.RemoveFrame();

            string filename = PHP.Core.Convert.ObjectToString(argFileName);
            int mode = PHP.Core.Convert.ObjectToInteger(argMode);
            return ((SQLiteDatabase)instance).__construct(stack.Context, filename, mode, error);
        }
开发者ID:dw4dev,项目名称:Phalanger,代码行数:11,代码来源:SQLiteDatabase.cs

示例6: getModifierNames

        public static object getModifierNames(object instance, PhpStack stack)
        {
            stack.CalleeName = "getModifierNames";
            object arg1 = stack.PeekValue(1);
            stack.RemoveFrame();

            int typed1 = Core.Convert.ObjectToInteger(arg1);
            return getModifierNames(typed1);
        }
开发者ID:tiaohai,项目名称:Phalanger,代码行数:9,代码来源:Reflection.cs

示例7: hasChildren

 public static object hasChildren(object instance, PhpStack stack)
 {
     var allowLinks = stack.PeekValueOptional(1);
     stack.RemoveFrame();
     return ((RecursiveDirectoryIterator)instance).hasChildren(stack.Context/*, allowLinks*/);
 }
开发者ID:MpApQ,项目名称:Phalanger,代码行数:6,代码来源:FileSystem.cs

示例8: __construct

 public static new object __construct(object instance, PhpStack stack)
 {
     var path = stack.PeekValue(1);
     var flags = stack.PeekValueOptional(2);
     stack.RemoveFrame();
     return ((RecursiveDirectoryIterator)instance).__construct(stack.Context, path, flags);
 }
开发者ID:MpApQ,项目名称:Phalanger,代码行数:7,代码来源:FileSystem.cs

示例9: current

 public new static object current(object instance, PhpStack stack)
 {
     stack.RemoveFrame();
     return ((FilesystemIterator)instance).current(stack.Context);
 }
开发者ID:MpApQ,项目名称:Phalanger,代码行数:5,代码来源:FileSystem.cs

示例10: isFile

 public new static object isFile(object instance, PhpStack stack)
 {
     stack.RemoveFrame();
     return ((DirectoryIterator)instance).isFile(stack.Context);
 }
开发者ID:MpApQ,项目名称:Phalanger,代码行数:5,代码来源:FileSystem.cs

示例11: prepare

 public static object prepare(object instance, PhpStack stack)
 {
     object statement = stack.PeekValue(1);
     object driver_options = stack.PeekValueOptional(2);
     stack.RemoveFrame();
     return ((PDO)instance).prepare(stack.Context, statement, driver_options);
 }
开发者ID:hansdude,项目名称:Phalanger,代码行数:7,代码来源:PDO.cs

示例12: query

 public static object query(object instance, PhpStack stack)
 {
     object statement = stack.PeekValue(1);
     object fetch_to_mode = stack.PeekValueOptional(2);
     object fetch_to_dest = stack.PeekValueOptional(3);
     object fetch_to_args = stack.PeekValueOptional(4);
     stack.RemoveFrame();
     return ((PDO)instance).query(stack.Context, statement, fetch_to_mode, fetch_to_dest, fetch_to_args);
 }
开发者ID:hansdude,项目名称:Phalanger,代码行数:9,代码来源:PDO.cs

示例13: quote

 public static object quote(object instance, PhpStack stack)
 {
     object str = stack.PeekValue(1);
     object paramType = stack.PeekValueOptional(2);
     stack.RemoveFrame();
     return ((PDO)instance).quote(stack.Context, str, paramType);
 }
开发者ID:hansdude,项目名称:Phalanger,代码行数:7,代码来源:PDO.cs

示例14: getAttribute

 public static object getAttribute(object instance, PhpStack stack)
 {
     object attribute = stack.PeekValue(1);
     stack.RemoveFrame();
     return ((PDO)instance).getAttribute(stack.Context, attribute);
 }
开发者ID:hansdude,项目名称:Phalanger,代码行数:6,代码来源:PDO.cs

示例15: commit

 public static object commit(object instance, PhpStack stack)
 {
     stack.RemoveFrame();
     return ((PDO)instance).commit(stack.Context);
 }
开发者ID:hansdude,项目名称:Phalanger,代码行数:5,代码来源:PDO.cs


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