Пример #1
0
 public override void OnContentTypeProvisioned(SPContentTypeProvisionEventArgs eventArgs)
 {
     foreach (SPModelProvisionEventReceiver eventReceiver in eventReceivers)
     {
         eventReceiver.OnContentTypeProvisioned(eventArgs);
     }
 }
Пример #2
0
 public override void OnContentTypeProvisioning(SPContentTypeProvisionEventArgs eventArgs)
 {
     foreach (SPModelProvisionEventReceiver eventReceiver in eventReceivers)
     {
         eventReceiver.OnContentTypeProvisioning(eventArgs);
         if (eventArgs.Cancel)
         {
             break;
         }
     }
 }
Пример #3
0
 /// <summary>
 /// Called when a content type is provisioned.
 /// </summary>
 /// <param name="eventArgs">Event data.</param>
 public virtual void OnContentTypeProvisioned(SPContentTypeProvisionEventArgs eventArgs)
 {
 }