private ParameterSignature([In] Class obj0, [In] Annotation[] obj1)
 {
   base.\u002Ector();
   ParameterSignature parameterSignature = this;
   this.type = obj0;
   this.annotations = obj1;
 }
Esempio n. 2
0
 private Description(string _param1, params Annotation[] _param2)
 {
   base.\u002Ector();
   Description description = this;
   this.fChildren = new ArrayList();
   this.fDisplayName = param0;
   this.fAnnotations = param1;
 }
Esempio n. 3
0
		public StructDefinition(Token structToken, Token nameToken, IList<Token> fields, IList<Annotation> annotations, Executable owner)
			: base(structToken, owner)
		{
			this.Name = nameToken;
			this.Fields = fields.ToArray();
			this.FieldsByIndex = fields.Select<Token, string>(t => t.Value).ToArray();
			this.IndexByField = new Dictionary<string, int>();
			for (int i = 0; i < this.FieldsByIndex.Length; ++i)
			{
				this.IndexByField[this.FieldsByIndex[i]] = i;
			}

			this.Types = annotations.ToArray();
		}
Esempio n. 4
0
			public AnnotationCollector (Annotation[] annotations, Repository repo)
			{
				this.repo = repo;
				this.annotations = annotations;
				Func = CollectorFunc;
			}
Esempio n. 5
0
			public AnnotationCollector (Annotation[] annotations)
			{
				this.annotations = annotations;
				Func = CollectorFunc;
			}
Esempio n. 6
0
			public AnnotationCollector (Annotation[] annotations)
			{
				this.annotations = annotations;
			}
Esempio n. 7
0
 /// <summary>
 /// Default ctor
 /// </summary>
 protected AnnotationsAttribute(Annotation[] annotations)
 {
     this.annotations = annotations;
 }
Esempio n. 8
0
        /// <summary>
        /// Decodes the text of the annotation
        /// </summary>
        /// <param name="text"></param>
        private void DecodeText(string text)
        {
            string[] parameters = BreakIntoParameterPieces(text);

            Name = parameters[0];
            _parameters = parameters
                .Skip(1)
                .Select(x => new Annotation(x))
                .ToArray();
        }