Beispiel #1
0
 public XamlIlMethodCallBaseNode(IXamlIlLineInfo lineInfo,
                                 IXamlIlWrappedMethod method, IEnumerable <IXamlIlAstValueNode> args)
     : base(lineInfo)
 {
     Method    = method;
     Arguments = args?.ToList() ?? new List <IXamlIlAstValueNode>();
 }
Beispiel #2
0
 public XamlIlMarkupExtensionNode(IXamlIlLineInfo lineInfo, IXamlIlProperty property, IXamlIlMethod provideValue,
                                  IXamlIlAstValueNode value, IXamlIlWrappedMethod manipulation) : base(lineInfo)
 {
     Property     = property;
     ProvideValue = provideValue;
     Value        = value;
     Manipulation = manipulation;
 }
Beispiel #3
0
 public XamlIlWrappedMethodWithCasts(IXamlIlWrappedMethod method, IEnumerable <IXamlIlType> newArgumentTypes)
 {
     _method            = method;
     ParametersWithThis = newArgumentTypes.ToList();
     if (_method.ParametersWithThis.Count != ParametersWithThis.Count)
     {
         throw new ArgumentException("Method argument count mismatch");
     }
 }
Beispiel #4
0
 public XamlIlStaticOrTargetedReturnMethodCallNode(IXamlIlLineInfo lineInfo, IXamlIlWrappedMethod method,
                                                   IEnumerable <IXamlIlAstValueNode> args)
     : base(lineInfo, method, args)
 {
     Type = new XamlIlAstClrTypeReference(lineInfo, method.ReturnType);
 }
Beispiel #5
0
 public XamlIlNoReturnMethodCallNode(IXamlIlLineInfo lineInfo, IXamlIlWrappedMethod method, IEnumerable <IXamlIlAstValueNode> args)
     : base(lineInfo, method, args)
 {
 }