Example #1
0
 public virtual void TranslateMembers(IEnumeratorType parent, IEnumTypeFieldMembers fieldMembers)
 {
     TranslateMembers((IFieldParentType)parent, (IFieldMembersBase)fieldMembers);
 }
Example #2
0
 public EnumTypeFieldMembers(IEnumeratorType targetDeclaration)
     : base(targetDeclaration)
 {
     this.enumType = targetDeclaration.GetTypeReference();
 }
Example #3
0
 /// <summary>
 /// Translates an enumerator-based declared type.
 /// </summary>
 /// <param name="enumeratorType">The <see cref="IEnumeratorType"/> to translate.</param>
 public abstract void TranslateType(IEnumeratorType enumeratorType);
Example #4
0
 public override void TranslateType(IEnumeratorType enumeratorType)
 {
     this.Provider.GenerateCodeFromType(enumeratorType.GenerateCodeDom(this.Options), base.Target, this.Options.Options);
 }