public IFileData CreateFileDataObject() { IFileData fileData = CreateFileData(this.objectSpace, this.memberInfo); CreateCustomFileDataObjectEventArgs createCustomFileDataObjectEventArgs = new CreateCustomFileDataObjectEventArgs(fileData); if (createCustomFileDataObject != null) { createCustomFileDataObject(this, createCustomFileDataObjectEventArgs); } return(createCustomFileDataObjectEventArgs.FileData); }
protected virtual void CreateFileDataObject(object sender, CreateCustomFileDataObjectEventArgs e) { }
public IFileData CreateFileDataObject() { IFileData fileData = CreateFileData(this.objectSpace, this.memberInfo); CreateCustomFileDataObjectEventArgs createCustomFileDataObjectEventArgs = new CreateCustomFileDataObjectEventArgs(fileData); if (createCustomFileDataObject != null) { createCustomFileDataObject(this, createCustomFileDataObjectEventArgs); } return createCustomFileDataObjectEventArgs.FileData; }