registerAttachment method

IAttachment registerAttachment(
  1. IProvider provider,
  2. IAttachment attachment
)

Implementation

IAttachment registerAttachment(IProvider provider, IAttachment attachment) {
  return IAttachment(
    _registerAttachment(self, provider.self, attachment.self),
  );
}