Пример #1
0
 public TransformationKind Visit <TProperty, TPropertyParent>(ICreateInstancePropertyAssignment <TProperty, TPropertyParent> expression, ITransformationContext context)
     where TProperty :
 IPropertySignatureMember <TProperty, TPropertyParent>
     where TPropertyParent :
 IPropertySignatureParent <TProperty, TPropertyParent>
 {
     return(TransformationKind.Delete);
 }
 public override bool Visit <TProperty, TPropertyParent>(ICreateInstancePropertyAssignment <TProperty, TPropertyParent> expression, object context)
 {
     _stack.Push(expression);
     try
     {
         return(base.Visit(expression, context));
     }
     finally
     {
         _stack.Pop();
     }
 }
Пример #3
0
 public abstract IExpression Transform <TProperty, TPropertyParent>(ICreateInstancePropertyAssignment <TProperty, TPropertyParent> expression)
     where TProperty : IPropertySignatureMember <TProperty, TPropertyParent>
     where TPropertyParent : IPropertySignatureParent <TProperty, TPropertyParent>;
Пример #4
0
 void IExpressionVisitor.Visit <TProperty, TPropertyParent>(ICreateInstancePropertyAssignment <TProperty, TPropertyParent> expression)
 {
     this.Translate(expression);
 }
Пример #5
0
 TransformationImpact IExpressionVisitor <TransformationImpact> .Visit <TProperty, TPropertyParent>(ICreateInstancePropertyAssignment <TProperty, TPropertyParent> expression)
 {
     return(CalculateRefactorImpact(expression));
 }
Пример #6
0
 public TestLinkerResult Visit <TProperty, TPropertyParent>(ICreateInstancePropertyAssignment <TProperty, TPropertyParent> expression, ICompilationContext context)
     where TProperty : IPropertySignatureMember <TProperty, TPropertyParent>
     where TPropertyParent : IPropertySignatureParent <TProperty, TPropertyParent>
 {
     throw new NotImplementedException();
 }
Пример #7
0
 public abstract TransformationImpact CalculateRefactorImpact <TProperty, TPropertyParent>(ICreateInstancePropertyAssignment <TProperty, TPropertyParent> expression)
     where TProperty :
 IPropertySignatureMember <TProperty, TPropertyParent>
     where TPropertyParent :
 IPropertySignatureParent <TProperty, TPropertyParent>;