Пример #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);
 }