/// <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; }
public Property(PropertyIdentifier identifier, DeclaredType type) : base(identifier) { Type = type; HasGet = identifier.HasGet; HasSet = identifier.HasSet; IsStatic = identifier.IsStatic; }
public static Property Unresolved( PropertyIdentifier propertyIdentifier, DeclaredType type, IReferencable returnType) { return new Property(propertyIdentifier, type) { IsResolved = false, ReturnType = returnType }; }
public static Property Unresolved(PropertyIdentifier propertyIdentifier, DeclaredType type) { return new Property(propertyIdentifier, type) { IsResolved = false }; }
public static Property Unresolved(PropertyIdentifier propertyIdentifier, DeclaredType type, IReferencable returnType, List<Attribute> attributes) { return new Property(propertyIdentifier, type) { IsResolved = false, ReturnType = returnType, Attributes = attributes }; }