Class describing properties.
Internal members protected for testability.
Inheritance: Rosetta.Translation.MemberTranslationUnit, ITranslationUnit
コード例 #1
0
 /// <summary>
 /// Copy initializes a new instance of the <see cref="PropertyDefinitionTranslationUnit"/> class.
 /// </summary>
 /// <param name="other"></param>
 /// <remarks>
 /// For testability.
 /// </remarks>
 public PropertyDefinitionTranslationUnit(PropertyDefinitionTranslationUnit other)
     : base((MemberTranslationUnit)other)
 {
     this.type   = other.type;
     this.hasGet = other.hasGet;
     this.hasSet = other.hasSet;
 }
コード例 #2
0
 /// <summary>
 /// Copy initializes a new instance of the <see cref="PropertyDefinitionTranslationUnit"/> class.
 /// </summary>
 /// <param name="other"></param>
 /// <remarks>
 /// For testability.
 /// </remarks>
 public PropertyDefinitionTranslationUnit(PropertyDefinitionTranslationUnit other)
     : base((MemberTranslationUnit)other)
 {
     this.type = other.type;
     this.hasGet = other.hasGet;
     this.hasSet = other.hasSet;
 }
コード例 #3
0
 public static MockedPropertyDefinitionTranslationUnit Create(PropertyDefinitionTranslationUnit propertyDefinitionTranslationUnit)
 {
     return(new MockedPropertyDefinitionTranslationUnit(propertyDefinitionTranslationUnit));
 }
コード例 #4
0
 protected MockedPropertyDefinitionTranslationUnit(PropertyDefinitionTranslationUnit original)
     : base(original)
 {
 }