예제 #1
0
 protected void BuildInstanceOf(
     InstanceAttribute attribute,
     StringBuilder builder)
 {
     builder.Append("        public readonly InstanceOf<")
         .Append(this._type.FullName)
         .Append("> ")
         .Append(attribute.Name)
         .Append(" =\r\n");
 }
예제 #2
0
 public InstanceHolder(Type type, InstanceAttribute[] attributes)
 {
     this._type = type;
     this._attributes = attributes;
     this._implements = new Dictionary<string, ImplementsHolder>();
 }