Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Property"/> class.
 /// </summary>
 /// <param name="identifier">
 /// The identifier.
 /// </param>
 /// <param name="type">
 /// The type.
 /// </param>
 public Property(PropertyIdentifier identifier, DeclaredType type)
     : base(identifier)
 {
     this.Type = type;
     this.HasGet = identifier.HasGet;
     this.HasSet = identifier.HasSet;
 }
Beispiel #2
0
 public Property(PropertyIdentifier identifier, DeclaredType type)
     : base(identifier)
 {
     Type = type;
     HasGet = identifier.HasGet;
     HasSet = identifier.HasSet;
     IsStatic = identifier.IsStatic;
 }
Beispiel #3
0
 public static Property Unresolved(
     PropertyIdentifier propertyIdentifier, DeclaredType type, IReferencable returnType)
 {
     return new Property(propertyIdentifier, type) { IsResolved = false, ReturnType = returnType };
 }
Beispiel #4
0
 public static Property Unresolved(PropertyIdentifier propertyIdentifier, DeclaredType type)
 {
     return new Property(propertyIdentifier, type) { IsResolved = false };
 }
Beispiel #5
0
 public static Property Unresolved(PropertyIdentifier propertyIdentifier, DeclaredType type, IReferencable returnType, List<Attribute> attributes)
 {
     return new Property(propertyIdentifier, type) { IsResolved = false, ReturnType = returnType, Attributes = attributes };
 }