//----------------------------------------------------------------------------------------------------------------------------------------------------- public virtual void SetAttributes(HappilAttributes attributes) { if (attributes != null) { foreach (var attribute in attributes.GetAttributes()) { SetCustomAttribute(attribute); } } }
//----------------------------------------------------------------------------------------------------------------------------------------------------- internal void SetAttributes(HappilAttributes attributes) { if (attributes != null) { foreach (var attribute in attributes.GetAttributes()) { m_FieldBuilder.SetCustomAttribute(attribute); } } }
//------------------------------------------------------------------------------------------------------------------------------------------------- internal void SetAttributes(HappilAttributes attributes) { if (attributes != null) { foreach (var attribute in attributes.GetAttributes()) { OwnerProperty.PropertyBuilder.SetCustomAttribute(attribute); } } }
//----------------------------------------------------------------------------------------------------------------------------------------------------- public override void SetAttributes(HappilAttributes attributes) { if (attributes != null) { foreach (var attribute in attributes.GetAttributes()) { m_ConstructorBuilder.SetCustomAttribute(attribute); } } }