예제 #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;
 }
예제 #2
0
파일: Property.cs 프로젝트: J4S0Nc/docu
 public Property(PropertyIdentifier identifier, DeclaredType type)
     : base(identifier)
 {
     Type = type;
     HasGet = identifier.HasGet;
     HasSet = identifier.HasSet;
     IsStatic = identifier.IsStatic;
 }
예제 #3
0
 public static Property Unresolved(
     PropertyIdentifier propertyIdentifier, DeclaredType type, IReferencable returnType)
 {
     return new Property(propertyIdentifier, type) { IsResolved = false, ReturnType = returnType };
 }
예제 #4
0
 public static Property Unresolved(PropertyIdentifier propertyIdentifier, DeclaredType type)
 {
     return new Property(propertyIdentifier, type) { IsResolved = false };
 }
예제 #5
0
파일: Property.cs 프로젝트: LogicInc/docu
 public static Property Unresolved(PropertyIdentifier propertyIdentifier, DeclaredType type, IReferencable returnType, List<Attribute> attributes)
 {
     return new Property(propertyIdentifier, type) { IsResolved = false, ReturnType = returnType, Attributes = attributes };
 }