コード例 #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>();
 }