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


C# VList类代码示例

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


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

示例1: MaybeRemoveNoOpFromRunSeq

		public static VList<LNode> MaybeRemoveNoOpFromRunSeq(VList<LNode> runSeq)
		{
			// Delete final no-op in case of e.g. Foo()::id; => #runSequence(var id = Foo(); id)
			if (runSeq.Count > 1 && runSeq.Last.IsId)
				return runSeq.WithoutLast(1);
			return runSeq;
		}
开发者ID:qwertie,项目名称:ecsharp,代码行数:7,代码来源:UseSequenceExpressions.out.cs

示例2: WithTrailingTrivia

		/// <summary>Removes all existing trailing trivia from an attribute list and adds a new list of trailing trivia.</summary>
		/// <remarks>This method has a side-effect of recreating the #trivia_trailing
		/// node, if there is one, at the end of the attribute list. If <c>trivia</c>
		/// is empty then all calls to #trivia_trailing are removed.</remarks>
		public static VList<LNode> WithTrailingTrivia(this VList<LNode> attrs, VList<LNode> trivia)
		{
			var attrs2 = WithoutTrailingTrivia(attrs);
			if (trivia.IsEmpty)
				return attrs2;
			return attrs2.Add(LNode.Call(S.TriviaTrailing, trivia));
		}
开发者ID:qwertie,项目名称:ecsharp,代码行数:11,代码来源:LNodeExt.cs

示例3: CodeGeneratorForMatchCase

			internal CodeGeneratorForMatchCase(IMacroContext context, LNode input, VList<LNode> handler)
			{
				_context = context;
				_input = input;
				_handler = handler;
				var @break = LNode.Call(CodeSymbols.Break);
				if (_handler.IsEmpty || !_handler.Last.Equals(@break))
					_handler.Add(@break);
			}
开发者ID:jonathanvdc,项目名称:Loyc,代码行数:9,代码来源:MatchMacro.out.cs

示例4: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VIndividualCustomer> Convert(WsProxy.VIndividualCustomer[] items)
		{
			VList<VIndividualCustomer> outItems = new VList<VIndividualCustomer>();
			foreach(WsProxy.VIndividualCustomer item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:WildGenie,项目名称:NetTiers,代码行数:12,代码来源:WsVIndividualCustomerProviderBase.generated.cs

示例5: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VEmployeeDepartmentHistory> Convert(WsProxy.VEmployeeDepartmentHistory[] items)
		{
			VList<VEmployeeDepartmentHistory> outItems = new VList<VEmployeeDepartmentHistory>();
			foreach(WsProxy.VEmployeeDepartmentHistory item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:netTiers,项目名称:netTiers,代码行数:12,代码来源:WsVEmployeeDepartmentHistoryProviderBase.generated.cs

示例6: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VSalesPerson> Convert(WsProxy.VSalesPerson[] items)
		{
			VList<VSalesPerson> outItems = new VList<VSalesPerson>();
			foreach(WsProxy.VSalesPerson item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:netTiers,项目名称:netTiers,代码行数:12,代码来源:WsVSalesPersonProviderBase.generated.cs

示例7: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VSalesPersonSalesByFiscalYears> Convert(WsProxy.VSalesPersonSalesByFiscalYears[] items)
		{
			VList<VSalesPersonSalesByFiscalYears> outItems = new VList<VSalesPersonSalesByFiscalYears>();
			foreach(WsProxy.VSalesPersonSalesByFiscalYears item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:netTiers,项目名称:netTiers,代码行数:12,代码来源:WsVSalesPersonSalesByFiscalYearsProviderBase.generated.cs

示例8: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VProductModelInstructions> Convert(WsProxy.VProductModelInstructions[] items)
		{
			VList<VProductModelInstructions> outItems = new VList<VProductModelInstructions>();
			foreach(WsProxy.VProductModelInstructions item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:netTiers,项目名称:netTiers,代码行数:12,代码来源:WsVProductModelInstructionsProviderBase.generated.cs

示例9: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VAdditionalContactInfo> Convert(WsProxy.VAdditionalContactInfo[] items)
		{
			VList<VAdditionalContactInfo> outItems = new VList<VAdditionalContactInfo>();
			foreach(WsProxy.VAdditionalContactInfo item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:WildGenie,项目名称:NetTiers,代码行数:12,代码来源:WsVAdditionalContactInfoProviderBase.generated.cs

示例10: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VStateProvinceCountryRegion> Convert(WsProxy.VStateProvinceCountryRegion[] items)
		{
			VList<VStateProvinceCountryRegion> outItems = new VList<VStateProvinceCountryRegion>();
			foreach(WsProxy.VStateProvinceCountryRegion item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:netTiers,项目名称:netTiers,代码行数:12,代码来源:WsVStateProvinceCountryRegionProviderBase.generated.cs

示例11: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VVendor> Convert(WsProxy.VVendor[] items)
		{
			VList<VVendor> outItems = new VList<VVendor>();
			foreach(WsProxy.VVendor item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:netTiers,项目名称:netTiers,代码行数:12,代码来源:WsVVendorProviderBase.generated.cs

示例12: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VEmployee> Convert(WsProxy.VEmployee[] items)
		{
			VList<VEmployee> outItems = new VList<VEmployee>();
			foreach(WsProxy.VEmployee item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:WildGenie,项目名称:NetTiers,代码行数:12,代码来源:WsVEmployeeProviderBase.generated.cs

示例13: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VIndividualDemographics> Convert(WsProxy.VIndividualDemographics[] items)
		{
			VList<VIndividualDemographics> outItems = new VList<VIndividualDemographics>();
			foreach(WsProxy.VIndividualDemographics item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:WildGenie,项目名称:NetTiers,代码行数:12,代码来源:WsVIndividualDemographicsProviderBase.generated.cs

示例14: Convert

		/// <summary>
		/// Convert a collection from the ws proxy to a nettiers collection.
		/// </summary>
		public static VList<VJobCandidateEmployment> Convert(WsProxy.VJobCandidateEmployment[] items)
		{
			VList<VJobCandidateEmployment> outItems = new VList<VJobCandidateEmployment>();
			foreach(WsProxy.VJobCandidateEmployment item in items)
			{
				outItems.Add(Convert(item));
			}
			return outItems;
		}
开发者ID:netTiers,项目名称:netTiers,代码行数:12,代码来源:WsVJobCandidateEmploymentProviderBase.generated.cs

示例15: Step_1_SelectAll_Generated

		/// <summary>
		/// Selects a page of VIndividualDemographics objects from the database.
		/// </summary>
		private void Step_1_SelectAll_Generated()
		{
			int count = -1;
			mockCollection = DataRepository.VIndividualDemographicsProvider.GetPaged(null, 0, 10, out count);
			Assert.IsTrue(count >= 0, "Select Query Failed with GetPaged");
			System.Console.WriteLine("DataRepository.VIndividualDemographicsProvider.GetPaged():");			
			System.Console.WriteLine(mockCollection);			
		}
开发者ID:WildGenie,项目名称:NetTiers,代码行数:11,代码来源:VIndividualDemographicsTest.generated.cs


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