예제 #1
0
파일: Emit.cs 프로젝트: RoyGI/code
 /// <summary>
 /// Properties the specified property.
 /// </summary>
 /// <param name="statement">The statement.</param>
 /// <param name="property">The property.</param>
 /// <returns>The Statement.</returns>
 public static Statement Property(this AttributeStatement statement, Property property)
 {
     statement.AddProperty(property);
     return(statement);
 }
예제 #2
0
파일: Emit.cs 프로젝트: RoyGI/code
 /// <summary>
 /// Properties the specified label.
 /// </summary>
 /// <param name="statement">The statement.</param>
 /// <param name="label">The label.</param>
 /// <param name="value">The value.</param>
 /// <returns>The AttributeStatement.</returns>
 public static AttributeStatement Property(this AttributeStatement statement, string label, string value)
 {
     statement.AddProperty(new Property(label, value));
     return(statement);
 }