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


C# IExpressionTransformer.Transform方法代码示例

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


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

示例1: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     if (this._arg != null)
     {
         return new NormalizeUnicodeFunction(transformer.Transform(this._expr), transformer.Transform(this._arg));
     }
     else
     {
         return new NormalizeUnicodeFunction(transformer.Transform(this._expr));
     }
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:16,代码来源:NormalizeUnicodeFunction.cs

示例2: Transform

 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new LeviathanMD5HashFunction(transformer.Transform(this._expr));
 }
开发者ID:almostEric,项目名称:DotNetRDF-4.0,代码行数:4,代码来源:LeviathanStringFunctions.cs

示例3: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new MultiplicationExpression(transformer.Transform(this._leftExpr), transformer.Transform(this._rightExpr));
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:9,代码来源:MultiplicationExpression.cs

示例4: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new SubstringAfterFunction(transformer.Transform(this._expr), transformer.Transform(this._arg));
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:9,代码来源:SubstringAfterFunction.cs

示例5: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new LangFunction(transformer.Transform(this._expr));
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:9,代码来源:LangFunction.cs

示例6: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new BooleanCast(transformer.Transform(this._expr));
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:9,代码来源:BooleanCast.cs

示例7: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new RoundHalfToEvenFunction(transformer.Transform(this._expr));
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:9,代码来源:RoundHalfToEvenFunction.cs

示例8: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     if (this._3d)
     {
         return new CartesianFunction(transformer.Transform(this._x1), transformer.Transform(this._y1), transformer.Transform(this._z1), transformer.Transform(this._x2), transformer.Transform(this._y2), transformer.Transform(this._z2));
     }
     else
     {
         return new CartesianFunction(transformer.Transform(this._x1), transformer.Transform(this._y1), transformer.Transform(this._x2), transformer.Transform(this._y2));
     }
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:16,代码来源:CartesianFunctions.cs

示例9: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new LeviathanCosecantFunction(transformer.Transform(this._expr), this._inverse);
 }
开发者ID:jbunzel,项目名称:MvcRQ_git,代码行数:9,代码来源:LeviathanTrigonometricFunctions.cs

示例10: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     ISparqlExpression temp = transformer.Transform(new GraphPatternTerm(this._pattern));
     if (temp is GraphPatternTerm)
     {
         return new ExistsFunction(((GraphPatternTerm)temp).Pattern, this._mustExist);
     }
     else
     {
         throw new RdfQueryException("Unable to transform an EXISTS/NOT EXISTS function since the expression transformer in use failed to transform the inner Graph Pattern Expression to another Graph Pattern Expression");
     }
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:17,代码来源:ExistsFunction.cs

示例11: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new NotEqualsExpression(transformer.Transform(this._leftExpr), transformer.Transform(this._rightExpr));
 }
开发者ID:jbunzel,项目名称:MvcRQ_git,代码行数:9,代码来源:SPARQLExpressionClasses.cs

示例12: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new StrBeforeFunction(transformer.Transform(this._stringExpr), transformer.Transform(this._startsExpr));
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:9,代码来源:StrBeforeFunction.cs

示例13: Transform

 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new BitAndFunc(transformer.Transform(_leftExpr), transformer.Transform(_rightExpr));
 }
开发者ID:GTuritto,项目名称:BrightstarDB,代码行数:4,代码来源:BitOrFunc.cs

示例14: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new XPathAbsoluteFunction(transformer.Transform(this._expr));
 }
开发者ID:jbunzel,项目名称:MvcRQ_git,代码行数:9,代码来源:XPathNumericFunctions.cs

示例15: Transform

 /// <summary>
 /// Transforms the Expression using the given Transformer
 /// </summary>
 /// <param name="transformer">Expression Transformer</param>
 /// <returns></returns>
 public override ISparqlExpression Transform(IExpressionTransformer transformer)
 {
     return new SecondsFromDateTimeFunction(transformer.Transform(this._expr));
 }
开发者ID:jmahmud,项目名称:RDFer,代码行数:9,代码来源:SecondsFromDateTimeFunction.cs


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