Beispiel #1
0
 public InvocationExpressionInfo(
     SemanticDocument document,
     AbstractGenerateParameterizedMemberService <TService, SimpleNameSyntax, ExpressionSyntax, InvocationExpressionSyntax> .State state)
     : base(document, state)
 {
     _invocationExpression = state.InvocationExpressionOpt;
 }
 protected override AbstractInvocationInfo CreateInvocationMethodInfo(SemanticDocument document, AbstractGenerateParameterizedMemberService <CSharpGenerateMethodService, SimpleNameSyntax, ExpressionSyntax, InvocationExpressionSyntax> .State state)
 {
     return(new CSharpGenerateParameterizedMemberService <CSharpGenerateMethodService> .InvocationExpressionInfo(document, state));
 }
 protected override string GetExplicitConversionDisplayText(AbstractGenerateParameterizedMemberService <CSharpGenerateConversionService, SimpleNameSyntax, ExpressionSyntax, InvocationExpressionSyntax> .State state)
 {
     return(string.Format(Resources.ExplicitConversionDisplayText, state.TypeToGenerateIn.Name));
 }